2023-10-01 17:47:02 -05:00
|
|
|
[options]
|
|
|
|
|
;------------------------------------------;
|
|
|
|
|
; Options not exposed on the command line. ;
|
|
|
|
|
;------------------------------------------;
|
|
|
|
|
|
|
|
|
|
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}
|
|
|
|
|
|
|
|
|
|
;-----------------------;
|
|
|
|
|
; Server startup config ;
|
|
|
|
|
;-----------------------;
|
|
|
|
|
; --config | -c
|
|
|
|
|
config = ${ODOO_RC}
|
|
|
|
|
|
|
|
|
|
; --save
|
|
|
|
|
save = ${SAVE}
|
|
|
|
|
|
|
|
|
|
; --init | -i
|
|
|
|
|
init = ${INIT}
|
|
|
|
|
|
|
|
|
|
; --update | -u
|
|
|
|
|
update = ${UPDATE}
|
|
|
|
|
|
|
|
|
|
; --without-demo
|
|
|
|
|
demo = ${DEMO}
|
|
|
|
|
without_demo = ${WITHOUT_DEMO}
|
|
|
|
|
|
|
|
|
|
; --import-partial
|
|
|
|
|
import_partial = ${IMPORT_PARTIAL}
|
|
|
|
|
|
|
|
|
|
; --pidfile
|
|
|
|
|
pidfile = ${PIDFILE}
|
|
|
|
|
|
|
|
|
|
; --addons-path
|
|
|
|
|
addons_path = ${ADDONS_PATH}
|
|
|
|
|
|
|
|
|
|
; --upgrade-path
|
|
|
|
|
upgrade_path = ${UPGRADE_PATH}
|
|
|
|
|
|
|
|
|
|
; --load
|
2023-10-07 05:43:40 -05:00
|
|
|
server_wide_modules = ${LOAD}
|
2023-10-01 17:47:02 -05:00
|
|
|
|
|
|
|
|
; --data-dir
|
|
|
|
|
data_dir = ${DATA_DIR}
|
|
|
|
|
|
|
|
|
|
;------;
|
|
|
|
|
; HTTP ;
|
|
|
|
|
;------;
|
|
|
|
|
; --http-interface | --xmlrpc-interface
|
|
|
|
|
http_interface = ${HTTP_INTERFACE}
|
|
|
|
|
|
|
|
|
|
; --http-port | -p | --xmlrpc-port
|
|
|
|
|
http_port = ${HTTP_PORT}
|
|
|
|
|
|
|
|
|
|
; --xmlrpcs-interface
|
|
|
|
|
xmlrpcs_interface = ${XMLRPCS_INTERFACE}
|
|
|
|
|
|
|
|
|
|
; --xmlrpcs-port
|
|
|
|
|
xmlrpcs_port = ${XMLRPCS_PORT}
|
|
|
|
|
|
|
|
|
|
; --gevent-port | --longpolling_port (deprecated)
|
|
|
|
|
gevent_port = ${GEVENT_PORT}
|
|
|
|
|
|
|
|
|
|
; --no-http | --no-xmlrpc
|
|
|
|
|
http_enable = ${HTTP_ENABLE}
|
|
|
|
|
|
|
|
|
|
; --no-xmlrpcs
|
|
|
|
|
xmlrpcs = ${XMLRPCS}
|
|
|
|
|
|
|
|
|
|
; --proxy-mode
|
|
|
|
|
proxy_mode = ${PROXY_MODE}
|
|
|
|
|
|
|
|
|
|
; --x-sendfile
|
|
|
|
|
x_sendfile = ${X_SENDFILE}
|
|
|
|
|
|
|
|
|
|
;---------------;
|
|
|
|
|
; Testing Group ;
|
|
|
|
|
;---------------;
|
|
|
|
|
; --test-file
|
|
|
|
|
test_file = ${TEST_FILE}
|
|
|
|
|
|
|
|
|
|
; --test-enable
|
|
|
|
|
test_enable = ${TEST_ENABLE}
|
|
|
|
|
|
|
|
|
|
; --test-tags
|
|
|
|
|
test_tags = ${TEST_FILE}
|
|
|
|
|
|
|
|
|
|
; --screencasts
|
|
|
|
|
screencasts = ${SCREENCASTS}
|
|
|
|
|
|
|
|
|
|
; --screenshots
|
|
|
|
|
screenshots = ${SCREENSHOTS}
|
|
|
|
|
|
|
|
|
|
;---------------;
|
|
|
|
|
; Logging Group ;
|
|
|
|
|
;---------------;
|
|
|
|
|
; --logfile
|
|
|
|
|
logfile = ${LOGFILE}
|
|
|
|
|
|
|
|
|
|
; --syslog
|
|
|
|
|
syslog = ${SYSLOG}
|
|
|
|
|
|
|
|
|
|
; --log-handler | --log-web (--log-handler=odoo.http:DEBUG) | --log-sql (--log-handler=odoo.sql_db:DEBUG)
|
|
|
|
|
log_handler = ${LOG_HANDLER}
|
|
|
|
|
|
|
|
|
|
; --log-db
|
|
|
|
|
log_db = ${LOG_DB}
|
|
|
|
|
|
|
|
|
|
; --log-db-level
|
|
|
|
|
log_db_level = ${LOG_DB_LEVEL}
|
|
|
|
|
|
|
|
|
|
; --log-level
|
|
|
|
|
log_level = ${LOG_LEVEL}
|
|
|
|
|
|
|
|
|
|
;------------;
|
|
|
|
|
; SMTP Group ;
|
|
|
|
|
;------------;
|
|
|
|
|
; --email-from
|
|
|
|
|
email_from = ${EMAIL_FROM}
|
|
|
|
|
|
|
|
|
|
; --from-filter
|
|
|
|
|
from_filter = ${FROM_FILTER}
|
|
|
|
|
|
|
|
|
|
; --smtp
|
|
|
|
|
smtp_server = ${SMTP_SERVER}
|
|
|
|
|
|
|
|
|
|
; --smtp-port
|
|
|
|
|
smtp_port = ${SMTP_PORT}
|
|
|
|
|
|
|
|
|
|
; --smtp-ssl
|
|
|
|
|
smtp_ssl = ${SMTP_SSL}
|
|
|
|
|
|
|
|
|
|
; --smtp-user
|
|
|
|
|
smtp_user = ${SMTP_USER}
|
|
|
|
|
|
|
|
|
|
; --smtp-password
|
|
|
|
|
smtp_password = ${SMTP_PASSWORD}
|
|
|
|
|
|
|
|
|
|
; --smtp-ssl-certificate-filename
|
|
|
|
|
smtp_ssl_certificate_filename = ${SMTP_SSL_CERTIFICATE_FILENAME}
|
|
|
|
|
|
|
|
|
|
; --smtp-ssl-private-key-filename
|
|
|
|
|
smtp_ssl_private_key_filename = ${SMTP_SSL_PRIVATE_KEY_FILENAME}
|
|
|
|
|
|
|
|
|
|
;----------;
|
|
|
|
|
; DB Group ;
|
|
|
|
|
;----------;
|
|
|
|
|
; --database | -d
|
|
|
|
|
db_name = ${DB_NAME}
|
|
|
|
|
|
|
|
|
|
; --db_user | -r
|
|
|
|
|
db_user = ${DB_USER}
|
|
|
|
|
|
|
|
|
|
; --db_password | -w
|
|
|
|
|
db_password = ${DB_PASSWORD}
|
|
|
|
|
|
|
|
|
|
; --pg_path
|
|
|
|
|
pg_path = ${PG_PATH}
|
|
|
|
|
|
|
|
|
|
; --db_host
|
|
|
|
|
db_host = ${DB_HOST}
|
|
|
|
|
|
|
|
|
|
; --db_port
|
|
|
|
|
db_port = ${DB_PORT}
|
|
|
|
|
|
|
|
|
|
; --db_sslmode
|
|
|
|
|
db_sslmode = ${DB_SSLMODE}
|
|
|
|
|
|
|
|
|
|
; --db_maxconn
|
|
|
|
|
db_maxconn = ${DB_MAXCONN}
|
|
|
|
|
|
|
|
|
|
; --db-template
|
|
|
|
|
db_template = ${DB_TEMPLATE}
|
|
|
|
|
|
|
|
|
|
;------------------------------;
|
|
|
|
|
; Internationalisation options ;
|
|
|
|
|
;------------------------------;
|
|
|
|
|
; --load-language
|
|
|
|
|
load_language = ${LOAD_LANGUAGE}
|
|
|
|
|
|
|
|
|
|
; --language
|
|
|
|
|
language = ${LANGUAGE}
|
|
|
|
|
|
|
|
|
|
; --i18n-export
|
|
|
|
|
translate_out = ${TRANSLATE_OUT}
|
|
|
|
|
|
|
|
|
|
; --i18n-import
|
|
|
|
|
translate_in = ${TRANSLATE_IN}
|
|
|
|
|
|
|
|
|
|
; --i18n-overwrite
|
|
|
|
|
overwrite_existing_translations = ${OVERWRITE_EXISTING_TRANSLATIONS}
|
|
|
|
|
|
|
|
|
|
; --modules
|
|
|
|
|
translate_modules = ${TRANSLATE_MODULES}
|
|
|
|
|
|
|
|
|
|
;----------;
|
|
|
|
|
; Security ;
|
|
|
|
|
;----------;
|
|
|
|
|
; --no-database-list
|
|
|
|
|
list_db = ${LIST_DB}
|
|
|
|
|
|
|
|
|
|
;-----;
|
|
|
|
|
; WEB ;
|
|
|
|
|
;-----;
|
|
|
|
|
; --db-filter
|
|
|
|
|
dbfilter = ${DBFILTER}
|
|
|
|
|
|
|
|
|
|
;------------------;
|
|
|
|
|
; Advanced options ;
|
|
|
|
|
;------------------;
|
|
|
|
|
; --dev (all, reload, xml, qweb, werkzeug, sql, shell, assets, tests)
|
|
|
|
|
dev_mode = ${DEV_MODE}
|
|
|
|
|
|
|
|
|
|
; --shell-interface
|
|
|
|
|
shell_interface = ${SHELL_INTERFACE}
|
|
|
|
|
|
|
|
|
|
; --stop-after-init
|
|
|
|
|
stop_after_init = ${STOP_AFTER_INIT}
|
|
|
|
|
|
|
|
|
|
; --osv-memory-count-limit
|
|
|
|
|
osv_memory_count_limit = ${OSV_MEMORY_COUNT_LIMIT}
|
|
|
|
|
|
|
|
|
|
; --transient-age-limit | --osv-memory-age-limit (deprecated)
|
|
|
|
|
transient_age_limit = ${TRANSIENT_AGE_LIMIT}
|
|
|
|
|
|
|
|
|
|
; --max-cron-threads
|
|
|
|
|
max_cron_threads = ${MAX_CRON_THREADS}
|
|
|
|
|
|
|
|
|
|
; --unaccent
|
|
|
|
|
unaccent = ${UNACCENT}
|
|
|
|
|
|
|
|
|
|
; --geoip-db
|
|
|
|
|
geoip_database = ${GEOIP_DATABASE}
|
|
|
|
|
|
|
|
|
|
; --workers
|
|
|
|
|
workers = ${WORKERS}
|
|
|
|
|
|
|
|
|
|
; --limit-memory-soft
|
|
|
|
|
limit_memory_soft = ${LIMIT_MEMORY_SOFT}
|
|
|
|
|
|
|
|
|
|
; --limit-memory-hard
|
|
|
|
|
limit_memory_hard = ${LIMIT_MEMORY_HARD}
|
|
|
|
|
|
|
|
|
|
; --limit-time-cpu
|
|
|
|
|
limit_time_cpu = ${LIMIT_TIME_CPU}
|
|
|
|
|
|
|
|
|
|
; --limit-time-real
|
|
|
|
|
limit_time_real = ${LIMIT_TIME_REAL}
|
|
|
|
|
|
|
|
|
|
; --limit-time-real-cron
|
|
|
|
|
limit_time_real_cron = ${LIMIT_TIME_REAL_CRON}
|
|
|
|
|
|
|
|
|
|
; --limit-request
|
|
|
|
|
limit_request = ${LIMIT_REQUEST}
|
|
|
|
|
|
|
|
|
|
;-----------------------------;
|
|
|
|
|
; External Integrations ;
|
|
|
|
|
;-----------------------------;
|
|
|
|
|
|
2023-10-07 05:10:20 -05:00
|
|
|
;--------------;
|
|
|
|
|
; Sentry ;
|
|
|
|
|
;--------------;
|
|
|
|
|
sentry_dsn = https://84799fb74edc4053aa3368aec3c2cb89@o4504596558577664.ingest.sentry.io/4504596563230720
|
|
|
|
|
sentry_enabled = true
|
|
|
|
|
sentry_logging_level = warn
|
|
|
|
|
# sentry_exclude_loggers = werkzeug
|
|
|
|
|
# sentry_ignore_exceptions = odoo.exceptions.AccessDenied,
|
|
|
|
|
# odoo.exceptions.AccessError,odoo.exceptions.MissingError,
|
|
|
|
|
# odoo.exceptions.RedirectWarning,odoo.exceptions.UserError,
|
|
|
|
|
# odoo.exceptions.ValidationError,odoo.exceptions.Warning,
|
|
|
|
|
# odoo.exceptions.except_orm
|
|
|
|
|
sentry_include_context = true
|
|
|
|
|
# sentry_environment = production
|
|
|
|
|
# sentry_release = 1
|
|
|
|
|
# sentry_odoo_dir =
|
|
|
|
|
|
2023-10-01 17:47:02 -05:00
|
|
|
;-------------;
|
|
|
|
|
; Redis ;
|
|
|
|
|
;-------------;
|
|
|
|
|
; -- Possible values: 1 or true
|
|
|
|
|
ODOO_SESSION_REDIS = ${ODOO_SESSION_REDIS}
|
|
|
|
|
|
|
|
|
|
; -- Defaults to is localhost
|
|
|
|
|
ODOO_SESSION_REDIS_HOST = ${ODOO_SESSION_REDIS_HOST}
|
|
|
|
|
|
|
|
|
|
; -- Defaults to 6379
|
|
|
|
|
ODOO_SESSION_REDIS_PORT = ${ODOO_SESSION_REDIS_PORT}
|
|
|
|
|
|
|
|
|
|
; -- Sets the password for the AUTH command (optional)
|
|
|
|
|
ODOO_SESSION_REDIS_PASSWORD = ${ODOO_SESSION_REDIS_PASSWORD}
|
|
|
|
|
|
|
|
|
|
; -- Alternative way to define the Redis server address like rediss:// protocol.
|
|
|
|
|
ODOO_SESSION_REDIS_URL = ${ODOO_SESSION_REDIS_URL}
|
|
|
|
|
|
|
|
|
|
; -- Prefix for the session keys (optional)
|
|
|
|
|
ODOO_SESSION_REDIS_PREFIX = ${ODOO_SESSION_REDIS_PREFIX}
|
|
|
|
|
|
|
|
|
|
; -- Time in seconds before expiration of the sessions (default is 7 days)
|
|
|
|
|
ODOO_SESSION_REDIS_EXPIRATION = ${ODOO_SESSION_REDIS_EXPIRATION}
|
|
|
|
|
|
|
|
|
|
; -- Time in seconds before expiration of the anonymous sessions (default is 3 hours)
|
|
|
|
|
ODOO_SESSION_REDIS_EXPIRATION_ANONYMOUS = ${ODOO_SESSION_REDIS_EXPIRATION_ANONYMOUS}
|
|
|
|
|
|
2023-10-07 05:43:40 -05:00
|
|
|
;--------------------------------------;
|
|
|
|
|
; Base Attachment Object Storage ;
|
|
|
|
|
;--------------------------------------;
|
|
|
|
|
; -- Disable Attachment Object Storage
|
|
|
|
|
DISABLE_ATTACHMENT_STORAGE = ${DISABLE_ATTACHMENT_STORAGE}
|
|
|
|
|
|
2023-10-01 17:47:02 -05:00
|
|
|
;----------;
|
|
|
|
|
; S3 ;
|
|
|
|
|
;----------;
|
2023-10-07 00:01:34 -05:00
|
|
|
; -- Not required if using AWS S3
|
2023-10-01 17:47:02 -05:00
|
|
|
AWS_HOST = ${AWS_HOST}
|
|
|
|
|
|
2023-10-07 00:01:34 -05:00
|
|
|
; -- Required if using AWS services
|
2023-10-01 17:47:02 -05:00
|
|
|
AWS_REGION = ${AWS_REGION}
|
2023-10-07 00:01:34 -05:00
|
|
|
|
|
|
|
|
; -- AWS Authentication
|
2023-10-01 17:47:02 -05:00
|
|
|
AWS_ACCESS_KEY_ID = ${AWS_ACCESS_KEY_ID}
|
|
|
|
|
AWS_SECRET_ACCESS_KEY = ${AWS_SECRET_ACCESS_KEY}
|
|
|
|
|
|
2023-10-07 00:01:34 -05:00
|
|
|
; Optional db_name placeholder
|
2023-10-01 17:47:02 -05:00
|
|
|
AWS_BUCKETNAME = ${AWS_BUCKETNAME}
|