Fix an undefined variable.

This commit is contained in:
Andrea Dell'Amico 2020-10-08 15:28:27 +02:00
parent 41c12a0339
commit 7b6241674f
2 changed files with 4 additions and 3 deletions

View File

@ -24,6 +24,7 @@ shinyproxy_as_docker_src_dir: /srv/shinyproxy_service
shinyproxy_as_docker_service_name: 'shinyproxy'
shinyproxy_docker_network: 'shinyproxy'
shinyproxy_docker_swarm_replicas: 2
shinyproxy_docker_log_to_journal: True
# Shinyproxy configuration
# docker, docker-swarm, kubernetes
shinyproxy_container_backend: 'docker'

View File

@ -12,8 +12,8 @@ services:
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- {{ shinyproxy_as_docker_src_dir }}/application.yml:/opt/shinyproxy/application.yml:ro
networks:
- '{{ shinyproxy_docker_network }}'
# networks:
# - {{ shinyproxy_docker_network }}
{% if shinyproxy_container_backend == 'docker-swarm' %}
deploy:
mode: replicated
@ -27,7 +27,7 @@ services:
max_attempts: 3
window: 120s
{% endif %}
{% if docker_log_to_journal %}
{% if shinyproxy_docker_log_to_journal %}
logging:
driver: 'journald'
{% endif %}