add default values

This commit is contained in:
Malte 2024-12-15 16:18:57 +01:00
parent 9ba41de06d
commit 970f4f40de

View file

@ -4,9 +4,9 @@ forumbot docker_container.running:
- image: {{ salt['pillar.get']('postgres:image:path', 'docker.io/flipdot/forumbot') }}:{{ salt['pillar.get']('postgres:image:version', 'latest') }}
- container_name: forumbot
- environment:
- DISCOURSE_API_KEY: {{ salt['pillar.get']('forumbot:discourse_api_key') }}
- DISCOURSE_USERNAME: {{ salt['pillar.get']('forumbot:discourse_username') }}
- SENTRY_DSN: {{ salt['pillar.get']('forumbot:sentry_dsn') }}
- DISCOURSE_API_KEY: {{ salt['pillar.get']('forumbot:discourse_api_key', "") }}
- DISCOURSE_USERNAME: {{ salt['pillar.get']('forumbot:discourse_username', "") }}
- SENTRY_DSN: {{ salt['pillar.get']('forumbot:sentry_dsn', "") }}
- restart: always
- healthcheck:
test: ["CMD", "python", "/app/src/app.py", "--test_connection"]