mirror of
https://github.com/odoocker/odoocker
synced 2025-11-04 23:29:19 +01:00
framework upgrade
This commit is contained in:
@@ -3,249 +3,258 @@
|
||||
; Options not exposed on the command line. ;
|
||||
;------------------------------------------;
|
||||
|
||||
admin_passwd=odoo
|
||||
csv_internal_sep=,
|
||||
publisher_warranty_url=http://services.openerp.com/publisher-warranty/
|
||||
root_path=/usr/lib/python3/dist-packages/odoo
|
||||
reportgz=False
|
||||
websocket_keep_alive_timeout=3600
|
||||
websocket_rate_limit_burst=10
|
||||
websocket_rate_limit_delay=0.2
|
||||
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=/etc/odoo/odoo.conf
|
||||
config = {ODOO_RC}
|
||||
|
||||
; --save
|
||||
save=False
|
||||
save = {SAVE}
|
||||
|
||||
; --init | -i
|
||||
init=
|
||||
init = {INIT}
|
||||
|
||||
; --update | -u
|
||||
update=
|
||||
update = {UPDATE}
|
||||
|
||||
; --without-demo
|
||||
demo=False
|
||||
without_demo=all
|
||||
demo = {DEMO}
|
||||
without_demo = {WITHOUT_DEMO}
|
||||
|
||||
; --import-partial
|
||||
import_partial=
|
||||
import_partial = {IMPORT_PARTIAL}
|
||||
|
||||
; --pidfile
|
||||
pidfile=
|
||||
pidfile = {PIDFILE}
|
||||
|
||||
; --addons-path
|
||||
addons_path=/usr/lib/python3/dist-packages/odoo/addons,/usr/lib/python3/dist-packages/odoo/enterprise,/usr/lib/python3/dist-packages/odoo/extra-addons,/usr/lib/python3/dist-packages/odoo/custom-addons
|
||||
addons_path = {ADDONS_PATH}
|
||||
|
||||
; --upgrade-path
|
||||
upgrade_path=
|
||||
upgrade_path = {UPGRADE_PATH}
|
||||
|
||||
; --load
|
||||
server_wide_modules=base,web
|
||||
server_wide_modules = {SERVER_WIDE_MODULES}
|
||||
|
||||
; --data-dir
|
||||
data_dir=/var/lib/odoo
|
||||
data_dir = {DATA_DIR}
|
||||
|
||||
;------;
|
||||
; HTTP ;
|
||||
;------;
|
||||
; --http-interface | --xmlrpc-interface
|
||||
http_interface=0.0.0.0
|
||||
http_interface = {HTTP_INTERFACE}
|
||||
|
||||
; --http-port | -p | --xmlrpc-port
|
||||
http_port=8069
|
||||
http_port = {HTTP_PORT}
|
||||
|
||||
; --xmlrpcs-interface
|
||||
xmlrpcs_interface = {XMLRPCS_INTERFACE}
|
||||
|
||||
; --xmlrpcs-port
|
||||
xmlrpcs_port = {XMLRPCS_PORT}
|
||||
|
||||
; --longpolling_port
|
||||
longpolling_port=8072
|
||||
longpolling_port = {LONGPOLLING_PORT}
|
||||
|
||||
; --no-http | --no-xmlrpc
|
||||
http_enable=True
|
||||
http_enable = {HTTP_ENABLE}
|
||||
|
||||
; --no-xmlrpcs
|
||||
xmlrpcs = {XMLRPCS}
|
||||
|
||||
; --proxy-mode
|
||||
proxy_mode=True
|
||||
proxy_mode = {PROXY_MODE}
|
||||
|
||||
; --x-sendfile
|
||||
x_sendfile =False
|
||||
x_sendfile = {X_SENDFILE}
|
||||
|
||||
;---------------;
|
||||
; Testing Group ;
|
||||
;---------------;
|
||||
; --test-file
|
||||
test_file=False
|
||||
test_file = {TEST_FILE}
|
||||
|
||||
; --test-enable
|
||||
test_enable=False
|
||||
test_enable = {TEST_ENABLE}
|
||||
|
||||
; --test-tags
|
||||
test_tags=False
|
||||
test_tags = {TEST_FILE}
|
||||
|
||||
; --screencasts
|
||||
screencasts=None
|
||||
screencasts = {SCREENCASTS}
|
||||
|
||||
; --screenshots
|
||||
screenshots=/tmp/odoo_tests
|
||||
screenshots = {SCREENSHOTS}
|
||||
|
||||
;---------------;
|
||||
; Logging Group ;
|
||||
;---------------;
|
||||
; --logfile
|
||||
logfile=
|
||||
logfile = {LOGFILE}
|
||||
|
||||
; --syslog
|
||||
syslog=False
|
||||
syslog = {SYSLOG}
|
||||
|
||||
; --log-handler | --log-web (--log-handler=odoo.http:DEBUG) | --log-sql (--log-handler=odoo.sql_db:DEBUG)
|
||||
log_handler=[':INFO']
|
||||
log_handler = {LOG_HANDLER}
|
||||
|
||||
; --log-db
|
||||
log_db=False
|
||||
log_db = {LOG_DB}
|
||||
|
||||
; --log-db-level
|
||||
log_db_level=info
|
||||
log_db_level = {LOG_DB_LEVEL}
|
||||
|
||||
; --log-level
|
||||
log_level=info
|
||||
log_level = {LOG_LEVEL}
|
||||
|
||||
;------------;
|
||||
; SMTP Group ;
|
||||
;------------;
|
||||
; --email-from
|
||||
email_from=
|
||||
email_from = {EMAIL_FROM}
|
||||
|
||||
; --from-filter
|
||||
from_filter=False
|
||||
from_filter = {FROM_FILTER}
|
||||
|
||||
; --smtp
|
||||
smtp_server=
|
||||
smtp_server = {SMTP_SERVER}
|
||||
|
||||
; --smtp-port
|
||||
smtp_port=25
|
||||
smtp_port = {SMTP_PORT}
|
||||
|
||||
; --smtp-ssl
|
||||
smtp_ssl=
|
||||
smtp_ssl = {SMTP_SSL}
|
||||
|
||||
; --smtp-user
|
||||
smtp_user=
|
||||
smtp_user = {SMTP_USER}
|
||||
|
||||
; --smtp-password
|
||||
smtp_password=
|
||||
smtp_password = {SMTP_PASSWORD}
|
||||
|
||||
; --smtp-ssl-certificate-filename
|
||||
smtp_ssl_certificate_filename=False
|
||||
smtp_ssl_certificate_filename = {SMTP_SSL_CERTIFICATE_FILENAME}
|
||||
|
||||
; --smtp-ssl-private-key-filename
|
||||
smtp_ssl_private_key_filename=False
|
||||
smtp_ssl_private_key_filename = {SMTP_SSL_PRIVATE_KEY_FILENAME}
|
||||
|
||||
;----------;
|
||||
; DB Group ;
|
||||
;----------;
|
||||
; --database | -d
|
||||
db_name=odoo
|
||||
db_name = {DB_NAME}
|
||||
|
||||
; --db_user | -r
|
||||
db_user=odoo
|
||||
db_user = {DB_USER}
|
||||
|
||||
; --db_password | -w
|
||||
db_password=odoo
|
||||
db_password = {DB_PASSWORD}
|
||||
|
||||
; --pg_path
|
||||
pg_path=
|
||||
pg_path = {PG_PATH}
|
||||
|
||||
; --db_host
|
||||
db_host=postgres
|
||||
db_host = {DB_HOST}
|
||||
|
||||
; --db_port
|
||||
db_port=5432
|
||||
db_port = {DB_PORT}
|
||||
|
||||
; --db_sslmode
|
||||
db_sslmode=prefer
|
||||
db_sslmode = {DB_SSLMODE}
|
||||
|
||||
; --db_maxconn
|
||||
db_maxconn=64
|
||||
db_maxconn = {DB_MAXCONN}
|
||||
|
||||
; --db-template
|
||||
db_template=unaccent_template
|
||||
db_template = {DB_TEMPLATE}
|
||||
|
||||
;------------------------------;
|
||||
; Internationalisation options ;
|
||||
;------------------------------;
|
||||
; --load-language
|
||||
load_language=en_US
|
||||
load_language = {LOAD_LANGUAGE}
|
||||
|
||||
; --language
|
||||
language=
|
||||
language = {LANGUAGE}
|
||||
|
||||
; --i18n-export
|
||||
translate_out=
|
||||
translate_out = {TRANSLATE_OUT}
|
||||
|
||||
; --i18n-import
|
||||
translate_in=
|
||||
translate_in = {TRANSLATE_IN}
|
||||
|
||||
; --i18n-overwrite
|
||||
overwrite_existing_translations=False
|
||||
overwrite_existing_translations = {OVERWRITE_EXISTING_TRANSLATIONS}
|
||||
|
||||
; --modules
|
||||
translate_modules=['all']
|
||||
translate_modules = {TRANSLATE_MODULES}
|
||||
|
||||
;----------;
|
||||
; Security ;
|
||||
;----------;
|
||||
; --no-database-list
|
||||
list_db=True
|
||||
list_db = {LIST_DB}
|
||||
|
||||
;-----;
|
||||
; WEB ;
|
||||
;-----;
|
||||
; --db-filter
|
||||
dbfilter=.*
|
||||
dbfilter = {DBFILTER}
|
||||
|
||||
;------------------;
|
||||
; Advanced options ;
|
||||
;------------------;
|
||||
; --dev
|
||||
dev_mode=False
|
||||
; --dev (all, reload, qweb, werkzeug, sql, shell, assets, tests)
|
||||
dev_mode = {DEV_MODE}
|
||||
|
||||
; --shell-interface
|
||||
shell_interface=ptpython
|
||||
shell_interface = {SHELL_INTERFACE}
|
||||
|
||||
; --stop-after-init
|
||||
stop_after_init=False
|
||||
stop_after_init = {STOP_AFTER_INIT}
|
||||
|
||||
; --osv-memory-count-limit
|
||||
osv_memory_count_limit=False
|
||||
osv_memory_count_limit = {OSV_MEMORY_COUNT_LIMIT}
|
||||
|
||||
; --transient-age-limit (for deprecated --osv-memory-age-limit)
|
||||
transient_age_limit=1.0
|
||||
; --transient-age-limit | --osv-memory-age-limit (deprecated)
|
||||
transient_age_limit = {TRANSIENT_AGE_LIMIT}
|
||||
|
||||
; --max-cron-threads
|
||||
max_cron_threads=2
|
||||
max_cron_threads = {MAX_CRON_THREADS}
|
||||
|
||||
; --unaccent
|
||||
unaccent=True
|
||||
unaccent = {UNACCENT}
|
||||
|
||||
; --geoip-db
|
||||
geoip_database=/usr/share/GeoIP/GeoLite2-City.mmdb
|
||||
geoip_database = {GEOIP_DATABASE}
|
||||
|
||||
; --workers
|
||||
workers=0
|
||||
workers = {WORKERS}
|
||||
|
||||
; --limit-memory-soft
|
||||
limit_memory_soft=2147483648
|
||||
limit_memory_soft = {LIMIT_MEMORY_SOFT}
|
||||
|
||||
; --limit-memory-hard
|
||||
limit_memory_hard=2684354560
|
||||
limit_memory_hard = {LIMIT_MEMORY_HARD}
|
||||
|
||||
; --limit-time-cpu
|
||||
limit_time_cpu=120
|
||||
limit_time_cpu = {LIMIT_TIME_CPU}
|
||||
|
||||
; --limit-time-real
|
||||
limit_time_real=240
|
||||
limit_time_real = {LIMIT_TIME_REAL}
|
||||
|
||||
; --limit-time-real-cron
|
||||
limit_time_real_cron=600
|
||||
limit_time_real_cron = {LIMIT_TIME_REAL_CRON}
|
||||
|
||||
; --limit-request
|
||||
limit_request=8192
|
||||
limit_request = {LIMIT_REQUEST}
|
||||
|
||||
Reference in New Issue
Block a user