Do not bind on localhost when running as a stack

This commit is contained in:
Andrea Dell'Amico 2020-10-07 19:29:44 +02:00
parent eb90846940
commit c55433e081
1 changed files with 5 additions and 1 deletions

View File

@ -5,8 +5,12 @@ proxy:
heartbeat-rate: 10000
heartbeat-timeout: 60000
container-wait-time: {{ shinyproxy_container_wait_time }}
{% if shinyproxy_container_backend == 'docker-swarm' %}
bind-address: 0.0.0.0
{% else %}
bind-address: {{ shinyproxy_bind_address }}
port: {{ shinyproxy_http_port }}
{% endif %}
port: {{ shinyproxy_http_port }}
hide-navbar: {{ shinyproxy_hide_navbar }}
{% if shinyproxy_custom_template %}
template-path: {{ shinyproxy_template_path }}