From 3595ed42cbd9764b2baff5bf2f0e05fa6b1e4fc7 Mon Sep 17 00:00:00 2001 From: Yhael S Date: Sat, 7 Oct 2023 06:05:51 -0500 Subject: [PATCH] cleanup --- .env.example | 31 ++++++++++++++++--------------- 1 file changed, 16 insertions(+), 15 deletions(-) diff --git a/.env.example b/.env.example index 798f40c..388438d 100644 --- a/.env.example +++ b/.env.example @@ -6,6 +6,7 @@ APP_ENV=local INIT= UPDATE= LOAD=base,web,session_redis,attachment_s3,sentry +ROOT_PATH=/usr/lib/python3/dist-packages/odoo WORKERS=2 DEV_MODE=reload,xml DOMAIN=erp.odoocker.test @@ -35,7 +36,7 @@ LOG_LEVEL=info # Additional logs LOG_HANDLER_LEVEL=INFO # Sentry -SENTRY_DSN= +SENTRY_DSN=https://84799fb74edc4053aa3368aec3c2cb89@o4504596558577664.ingest.sentry.io/4504596563230720 SENTRY_ENABLED=true SENTRY_LOGGING_LEVEL=warn SENTRY_EXCLUDE_LOGGERS= @@ -43,7 +44,7 @@ SENTRY_IGNORE_EXCEPTIONS= SENTRY_INCLUDE_CONTEXT=true SENTRY_ENVIRONMENT=production SENTRY_RELEASE= -SENTRY_ODOO_DIR= +SENTRY_ODOO_DIR=${ROOT_PATH} # Nginx CORS_ALLOWED_DOMAIN="'http://external-domain.test'" @@ -123,19 +124,6 @@ NGINX_PROXY_TAG=1.3.1 ACME_COMPANION_TAG=2.2.8 PGADMIN_TAG=7.6 -#------------# -# Odoo # -#------------# -# Options not exposed on the command line. -ADMIN_PASSWD=${ADMIN_PASSWD} -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 - # Custom paths COMMUNITY_ADDONS=${ROOT_PATH}/addons ENTERPRISE_ADDONS=${ROOT_PATH}/enterprise @@ -145,6 +133,19 @@ CUSTOM_ADDONS=${ROOT_PATH}/custom-addons LOG_PATH=/var/log/odoo/odoo.log DEBUG_PATH=/usr/bin/odoo +#------------# +# Odoo # +#------------# +# Options not exposed on the command line. +ADMIN_PASSWD=${ADMIN_PASSWD} +CSV_INTERNAL_SEP=, +PUBLISHER_WARRANTY_URL=http://services.openerp.com/publisher-warranty/ +ROOT_PATH=${ROOT_PATH} +REPORTGZ=False +WEBSOCKET_KEEP_ALIVE_TIMEOUT=3600 +WEBSOCKET_RATE_LIMIT_BURST=10 +WEBSOCKET_RATE_LIMIT_DELAY=0.2 + # Server startup config ODOO_RC=${ROOT_PATH}/odoo.conf SAVE=False