Files
odoocker/odoo/odoo.example.conf

262 lines
4.6 KiB
Plaintext
Raw Normal View History

2023-04-19 14:27:50 -05:00
[options]
;------------------------------------------;
; Options not exposed on the command line. ;
;------------------------------------------;
2023-08-25 02:08:56 -05:00
admin_passwd = {ADMIN_PASSWD}
csv_internal_sep = {CSV_INTERNAL_SEP}
publisher_warranty_url = {PUBLISHER_WARRANTY_URL}
root_path = {ROOT_PATH}
reportgz = {REPORTGZ}
websocket_keep_alive_timeout = {WEBSOCKET_KEEP_ALIVE_TIMEOUT}
websocket_rate_limit_burst = {WEBSOCKET_RATE_LIMIT_BURST}
websocket_rate_limit_delay = {WEBSOCKET_RATE_LIMIT_DELAY}
2023-04-19 14:27:50 -05:00
;-----------------------;
; Server startup config ;
;-----------------------;
; --config | -c
2023-08-25 02:08:56 -05:00
config = {ODOO_RC}
2023-04-19 14:27:50 -05:00
; --save
2023-08-25 02:08:56 -05:00
save = {SAVE}
2023-04-19 14:27:50 -05:00
; --init | -i
2023-08-25 02:08:56 -05:00
init = {INIT}
2023-04-19 14:27:50 -05:00
; --update | -u
2023-08-25 02:08:56 -05:00
update = {UPDATE}
2023-04-19 14:27:50 -05:00
; --without-demo
2023-08-25 02:08:56 -05:00
demo = {DEMO}
without_demo = {WITHOUT_DEMO}
2023-04-19 14:27:50 -05:00
; --import-partial
2023-08-25 02:08:56 -05:00
import_partial = {IMPORT_PARTIAL}
2023-04-19 14:27:50 -05:00
; --pidfile
2023-08-25 02:08:56 -05:00
pidfile = {PIDFILE}
2023-04-19 14:27:50 -05:00
; --addons-path
2023-08-25 02:08:56 -05:00
addons_path = {ADDONS_PATH}
2023-04-19 14:27:50 -05:00
; --upgrade-path
2023-08-25 02:08:56 -05:00
upgrade_path = {UPGRADE_PATH}
2023-04-19 14:27:50 -05:00
; --load
2023-08-25 02:08:56 -05:00
server_wide_modules = {SERVER_WIDE_MODULES}
2023-04-19 14:27:50 -05:00
; --data-dir
2023-08-25 02:08:56 -05:00
data_dir = {DATA_DIR}
2023-04-19 14:27:50 -05:00
;------;
; HTTP ;
;------;
; --http-interface | --xmlrpc-interface
2023-08-25 02:08:56 -05:00
http_interface = {HTTP_INTERFACE}
2023-04-19 14:27:50 -05:00
; --http-port | -p | --xmlrpc-port
2023-08-25 02:08:56 -05:00
http_port = {HTTP_PORT}
; --xmlrpcs-interface
xmlrpcs_interface = {XMLRPCS_INTERFACE}
; --xmlrpcs-port
xmlrpcs_port = {XMLRPCS_PORT}
2023-04-19 14:27:50 -05:00
; --gevent-port | --longpolling_port (deprecated)
gevent_port = {GEVENT_PORT}
longpolling_port = False
2023-04-19 14:27:50 -05:00
; --no-http | --no-xmlrpc
2023-08-25 02:08:56 -05:00
http_enable = {HTTP_ENABLE}
; --no-xmlrpcs
xmlrpcs = {XMLRPCS}
2023-04-19 14:27:50 -05:00
; --proxy-mode
2023-08-25 02:08:56 -05:00
proxy_mode = {PROXY_MODE}
2023-04-19 14:27:50 -05:00
; --x-sendfile
2023-08-25 02:08:56 -05:00
x_sendfile = {X_SENDFILE}
2023-04-19 14:27:50 -05:00
;---------------;
; Testing Group ;
;---------------;
; --test-file
2023-08-25 02:08:56 -05:00
test_file = {TEST_FILE}
2023-04-19 14:27:50 -05:00
; --test-enable
2023-08-25 02:08:56 -05:00
test_enable = {TEST_ENABLE}
2023-04-19 14:27:50 -05:00
; --test-tags
2023-08-25 02:08:56 -05:00
test_tags = {TEST_FILE}
2023-04-19 14:27:50 -05:00
; --screencasts
2023-08-25 02:08:56 -05:00
screencasts = {SCREENCASTS}
2023-04-19 14:27:50 -05:00
; --screenshots
2023-08-25 02:08:56 -05:00
screenshots = {SCREENSHOTS}
2023-04-19 14:27:50 -05:00
;---------------;
; Logging Group ;
;---------------;
; --logfile
2023-08-25 02:08:56 -05:00
logfile = {LOGFILE}
2023-04-19 14:27:50 -05:00
; --syslog
2023-08-25 02:08:56 -05:00
syslog = {SYSLOG}
2023-04-19 14:27:50 -05:00
; --log-handler | --log-web (--log-handler=odoo.http:DEBUG) | --log-sql (--log-handler=odoo.sql_db:DEBUG)
2023-08-25 02:08:56 -05:00
log_handler = {LOG_HANDLER}
2023-04-19 14:27:50 -05:00
; --log-db
2023-08-25 02:08:56 -05:00
log_db = {LOG_DB}
2023-04-19 14:27:50 -05:00
; --log-db-level
2023-08-25 02:08:56 -05:00
log_db_level = {LOG_DB_LEVEL}
2023-04-19 14:27:50 -05:00
; --log-level
2023-08-25 02:08:56 -05:00
log_level = {LOG_LEVEL}
2023-04-19 14:27:50 -05:00
;------------;
; SMTP Group ;
;------------;
; --email-from
2023-08-25 02:08:56 -05:00
email_from = {EMAIL_FROM}
2023-04-19 14:27:50 -05:00
; --from-filter
2023-08-25 02:08:56 -05:00
from_filter = {FROM_FILTER}
2023-04-19 14:27:50 -05:00
; --smtp
2023-08-25 02:08:56 -05:00
smtp_server = {SMTP_SERVER}
2023-04-19 14:27:50 -05:00
; --smtp-port
2023-08-25 02:08:56 -05:00
smtp_port = {SMTP_PORT}
2023-04-19 14:27:50 -05:00
; --smtp-ssl
2023-08-25 02:08:56 -05:00
smtp_ssl = {SMTP_SSL}
2023-04-19 14:27:50 -05:00
; --smtp-user
2023-08-25 02:08:56 -05:00
smtp_user = {SMTP_USER}
2023-04-19 14:27:50 -05:00
; --smtp-password
2023-08-25 02:08:56 -05:00
smtp_password = {SMTP_PASSWORD}
2023-04-19 14:27:50 -05:00
; --smtp-ssl-certificate-filename
2023-08-25 02:08:56 -05:00
smtp_ssl_certificate_filename = {SMTP_SSL_CERTIFICATE_FILENAME}
2023-04-19 14:27:50 -05:00
; --smtp-ssl-private-key-filename
2023-08-25 02:08:56 -05:00
smtp_ssl_private_key_filename = {SMTP_SSL_PRIVATE_KEY_FILENAME}
2023-04-19 14:27:50 -05:00
;----------;
; DB Group ;
;----------;
; --database | -d
2023-08-25 02:08:56 -05:00
db_name = {DB_NAME}
2023-04-19 14:27:50 -05:00
; --db_user | -r
2023-08-25 02:08:56 -05:00
db_user = {DB_USER}
2023-04-19 14:27:50 -05:00
; --db_password | -w
2023-08-25 02:08:56 -05:00
db_password = {DB_PASSWORD}
2023-04-19 14:27:50 -05:00
; --pg_path
2023-08-25 02:08:56 -05:00
pg_path = {PG_PATH}
2023-04-19 14:27:50 -05:00
; --db_host
2023-08-25 02:08:56 -05:00
db_host = {DB_HOST}
2023-04-19 14:27:50 -05:00
; --db_port
2023-08-25 02:08:56 -05:00
db_port = {DB_PORT}
2023-04-19 14:27:50 -05:00
; --db_sslmode
2023-08-25 02:08:56 -05:00
db_sslmode = {DB_SSLMODE}
2023-04-19 14:27:50 -05:00
; --db_maxconn
2023-08-25 02:08:56 -05:00
db_maxconn = {DB_MAXCONN}
2023-04-19 14:27:50 -05:00
; --db-template
2023-08-25 02:08:56 -05:00
db_template = {DB_TEMPLATE}
2023-04-19 14:27:50 -05:00
;------------------------------;
; Internationalisation options ;
;------------------------------;
; --load-language
2023-08-25 02:08:56 -05:00
load_language = {LOAD_LANGUAGE}
2023-04-19 14:27:50 -05:00
; --language
2023-08-25 02:08:56 -05:00
language = {LANGUAGE}
2023-04-19 14:27:50 -05:00
; --i18n-export
2023-08-25 02:08:56 -05:00
translate_out = {TRANSLATE_OUT}
2023-04-19 14:27:50 -05:00
; --i18n-import
2023-08-25 02:08:56 -05:00
translate_in = {TRANSLATE_IN}
2023-04-19 14:27:50 -05:00
; --i18n-overwrite
2023-08-25 02:08:56 -05:00
overwrite_existing_translations = {OVERWRITE_EXISTING_TRANSLATIONS}
2023-04-19 14:27:50 -05:00
; --modules
2023-08-25 02:08:56 -05:00
translate_modules = {TRANSLATE_MODULES}
2023-04-19 14:27:50 -05:00
;----------;
; Security ;
;----------;
; --no-database-list
2023-08-25 02:08:56 -05:00
list_db = {LIST_DB}
2023-04-19 14:27:50 -05:00
;-----;
; WEB ;
;-----;
; --db-filter
2023-08-25 02:08:56 -05:00
dbfilter = {DBFILTER}
2023-04-19 14:27:50 -05:00
;------------------;
; Advanced options ;
;------------------;
2023-08-25 02:08:56 -05:00
; --dev (all, reload, qweb, werkzeug, sql, shell, assets, tests)
dev_mode = {DEV_MODE}
2023-04-19 14:27:50 -05:00
; --shell-interface
2023-08-25 02:08:56 -05:00
shell_interface = {SHELL_INTERFACE}
2023-04-19 14:27:50 -05:00
; --stop-after-init
2023-08-25 02:08:56 -05:00
stop_after_init = {STOP_AFTER_INIT}
2023-04-19 14:27:50 -05:00
; --osv-memory-count-limit
2023-08-25 02:08:56 -05:00
osv_memory_count_limit = {OSV_MEMORY_COUNT_LIMIT}
2023-04-19 14:27:50 -05:00
2023-08-25 02:08:56 -05:00
; --transient-age-limit | --osv-memory-age-limit (deprecated)
transient_age_limit = {TRANSIENT_AGE_LIMIT}
2023-04-19 14:27:50 -05:00
; --max-cron-threads
2023-08-25 02:08:56 -05:00
max_cron_threads = {MAX_CRON_THREADS}
2023-04-19 14:27:50 -05:00
; --unaccent
2023-08-25 02:08:56 -05:00
unaccent = {UNACCENT}
2023-04-19 14:27:50 -05:00
; --geoip-db
2023-08-25 02:08:56 -05:00
geoip_database = {GEOIP_DATABASE}
2023-04-19 14:27:50 -05:00
; --workers
2023-08-25 02:08:56 -05:00
workers = {WORKERS}
2023-04-19 14:27:50 -05:00
; --limit-memory-soft
2023-08-25 02:08:56 -05:00
limit_memory_soft = {LIMIT_MEMORY_SOFT}
2023-04-19 14:27:50 -05:00
; --limit-memory-hard
2023-08-25 02:08:56 -05:00
limit_memory_hard = {LIMIT_MEMORY_HARD}
2023-04-19 14:27:50 -05:00
; --limit-time-cpu
2023-08-25 02:08:56 -05:00
limit_time_cpu = {LIMIT_TIME_CPU}
2023-04-19 14:27:50 -05:00
; --limit-time-real
2023-08-25 02:08:56 -05:00
limit_time_real = {LIMIT_TIME_REAL}
2023-04-19 14:27:50 -05:00
; --limit-time-real-cron
2023-08-25 02:08:56 -05:00
limit_time_real_cron = {LIMIT_TIME_REAL_CRON}
2023-04-19 14:27:50 -05:00
; --limit-request
2023-08-25 02:08:56 -05:00
limit_request = {LIMIT_REQUEST}