This commit is contained in:
Yhael S
2023-10-07 05:55:00 -05:00
parent 48cb2c06cb
commit 1e11d3fb37
2 changed files with 20 additions and 14 deletions

View File

@@ -34,6 +34,16 @@ DBFILTER=.*
LOG_LEVEL=info LOG_LEVEL=info
# Additional logs # Additional logs
LOG_HANDLER_LEVEL=INFO LOG_HANDLER_LEVEL=INFO
# Sentry
SENTRY_DSN=
SENTRY_ENABLED=true
SENTRY_LOGGING_LEVEL=warn
SENTRY_EXCLUDE_LOGGERS=
SENTRY_IGNORE_EXCEPTIONS=
SENTRY_INCLUDE_CONTEXT=true
SENTRY_ENVIRONMENT=production
SENTRY_RELEASE=
SENTRY_ODOO_DIR=
# Nginx # Nginx
CORS_ALLOWED_DOMAIN="'http://external-domain.test'" CORS_ALLOWED_DOMAIN="'http://external-domain.test'"
@@ -65,7 +75,7 @@ REDIS_HOST=redis
REDIS_PORT=6379 REDIS_PORT=6379
REDIS_PASSWORD= REDIS_PASSWORD=
REDIS_URL= REDIS_URL=
REDIS_PREFIX=odoo REDIS_PREFIX=odoocker
REDIS_SENTINEL_MASTER_NAME= REDIS_SENTINEL_MASTER_NAME=
REDIS_SENTINEL_HOST= REDIS_SENTINEL_HOST=
REDIS_SENTINEL_PORT=26379 REDIS_SENTINEL_PORT=26379

View File

@@ -266,19 +266,15 @@ limit_request = ${LIMIT_REQUEST}
;--------------; ;--------------;
; Sentry ; ; Sentry ;
;--------------; ;--------------;
sentry_dsn = https://84799fb74edc4053aa3368aec3c2cb89@o4504596558577664.ingest.sentry.io/4504596563230720 sentry_dsn = ${SENTRY_DSN}
sentry_enabled = true sentry_enabled = ${SENTRY_ENABLED}
sentry_logging_level = warn sentry_logging_level = ${SENTRY_LOGGING_LEVEL}
# sentry_exclude_loggers = werkzeug sentry_exclude_loggers = ${SENTRY_EXCLUDE_LOGGERS}
# sentry_ignore_exceptions = odoo.exceptions.AccessDenied, sentry_ignore_exceptions = ${SENTRY_IGNORE_EXCEPTIONS}
# odoo.exceptions.AccessError,odoo.exceptions.MissingError, sentry_include_context = ${SENTRY_INCLUDE_CONTEXT}
# odoo.exceptions.RedirectWarning,odoo.exceptions.UserError, sentry_environment = ${SENTRY_ENVIRONMENT}
# odoo.exceptions.ValidationError,odoo.exceptions.Warning, sentry_release = ${SENTRY_RELEASE}
# odoo.exceptions.except_orm sentry_odoo_dir = ${SENTRY_ODOO_DIR}
sentry_include_context = true
# sentry_environment = production
# sentry_release = 1
# sentry_odoo_dir =
;-------------; ;-------------;
; Redis ; ; Redis ;