Fix the secret name in the compose file.

This commit is contained in:
Andrea Dell'Amico 2024-04-09 15:44:27 +02:00
parent 43e3a3b525
commit 726c0df46a
Signed by untrusted user: adellam
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 2 additions and 2 deletions

View File

@ -9,7 +9,7 @@ networks:
{% if not shinyproxy_docker_mount_conf_file %} {% if not shinyproxy_docker_mount_conf_file %}
secrets: secrets:
{{ shinyproxy_as_docker_stack_name }}_{{ shinyproxy_as_docker_service_name }}_application_yml: {{ shinyproxy_as_docker_stack_name }}_{{ shinyproxy_as_docker_service_name }}:
external: true external: true
{% endif %} {% endif %}
services: services:
@ -50,7 +50,7 @@ services:
{% endif %} {% endif %}
{% if not shinyproxy_docker_mount_conf_file %} {% if not shinyproxy_docker_mount_conf_file %}
secrets: secrets:
- source: {{ shinyproxy_as_docker_stack_name }}_{{ shinyproxy_as_docker_service_name }}_application_yml - source: {{ shinyproxy_as_docker_stack_name }}_{{ shinyproxy_as_docker_service_name }}
target: {{ shinyproxy_conf_dir }}/application.yml target: {{ shinyproxy_conf_dir }}/application.yml
mode: 0444 mode: 0444
{% endif %} {% endif %}