From 970f4f40de98a4c8890a4ad7a6c3b02dce110ddf Mon Sep 17 00:00:00 2001 From: Malte Date: Sun, 15 Dec 2024 16:18:57 +0100 Subject: [PATCH] add default values --- forumbot/init.sls | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/forumbot/init.sls b/forumbot/init.sls index 04cf102..cd67923 100644 --- a/forumbot/init.sls +++ b/forumbot/init.sls @@ -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"]