Skip to content

Commit

Permalink
chore(docker): add SENTRY_* env to config
Browse files Browse the repository at this point in the history
  • Loading branch information
verdel committed Feb 16, 2024
1 parent babd522 commit 2a15234
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions docker/rootfs/opt/transmission-telegram-bot/config.yml.j2
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,11 @@ db:
schedule:
check_period: {{ DOWNLOAD_STATUS_CHECK_PERIOD }}
max_instances: {{ DOWNLOAD_STATUS_CHECK_MAX_INSTANCES }}

{% if SENTRY_DSN is defined %}
sentry:
dsn: {{ SENTRY_DSN }}
{% if SENTRY_ENVIRONMENT is defined %}
environment: {{ SENTRY_ENVIRONMENT }}
{% endif %}
{% endif %}

0 comments on commit 2a15234

Please sign in to comment.