hydra-dispatcher: update templating j2

This commit is contained in:
cmsassot 2022-10-27 10:38:26 +02:00
parent 53b65d7f19
commit 6830dd36b9
1 changed files with 4 additions and 4 deletions

View File

@ -5,10 +5,6 @@ PODMAN_ARGS="\
--network=slirp4netns:allow_host_loopback=true \ --network=slirp4netns:allow_host_loopback=true \
--tz=local \ --tz=local \
-p 127.0.0.1:3000:80 \ -p 127.0.0.1:3000:80 \
-v /etc/hydra-dispatcher/conf.d:/var/www/config/hydra \
{% for item in hydra_dispatcher_mounts %}
-v '{{ item.host }}:{{ item.container }}' \
{% endfor %}
-e APP_ENV=prod \ -e APP_ENV=prod \
-e 'APP_DEBUG={{ hydra_dispatcher_debug }}' \ -e 'APP_DEBUG={{ hydra_dispatcher_debug }}' \
-e HYDRA_ADMIN_BASE_URL=http://10.0.2.2:4445 \ -e HYDRA_ADMIN_BASE_URL=http://10.0.2.2:4445 \
@ -24,4 +20,8 @@ PODMAN_ARGS="\
-e 'TRUSTED_PROXIES=127.0.0.1,10.0.2.0/24' \ -e 'TRUSTED_PROXIES=127.0.0.1,10.0.2.0/24' \
-e 'SENTRY_DSN={{ hydra_dispatcher_sentry_dsn }}' \ -e 'SENTRY_DSN={{ hydra_dispatcher_sentry_dsn }}' \
-e 'SENTRY_ENVIRONMENT={{ hydra_dispatcher_sentry_environment }}' \ -e 'SENTRY_ENVIRONMENT={{ hydra_dispatcher_sentry_environment }}' \
-v /etc/hydra-dispatcher/conf.d:/var/www/config/hydra \
{% for item in hydra_dispatcher_mounts %}
-v {{ item.host }}:{{ item.container }} \
{% endfor %}
" "