Add a networking option when the backend is docker swarm.
This commit is contained in:
parent
5d9f954b24
commit
52b516579a
|
@ -12,6 +12,15 @@ server:
|
|||
frame-options: {{ shinyproxy_server_frame_options }}
|
||||
|
||||
proxy:
|
||||
{% if shinyproxy_container_backend == 'docker-swarm' %}
|
||||
bind-address: 0.0.0.0
|
||||
docker:
|
||||
internal-networking: true
|
||||
{% else %}
|
||||
bind-address: {{ shinyproxy_bind_address }}
|
||||
{% endif %}
|
||||
port: {{ shinyproxy_http_port }}
|
||||
hide-navbar: {{ shinyproxy_hide_navbar }}
|
||||
title: {{ shinyproxy_app_title }}
|
||||
logo-url: {{ shinyproxy_logo_url }}
|
||||
landing-page: {{ shinyproxy_landing_page }}
|
||||
|
@ -27,13 +36,6 @@ proxy:
|
|||
default-proxy-max-lifetime: {{ shinyproxy_default_proxy_max_lifetime }}
|
||||
same-site-cookie: {{ shinyproxy_same_site_cookie }}
|
||||
{% endif %}
|
||||
{% if shinyproxy_container_backend == 'docker-swarm' %}
|
||||
bind-address: 0.0.0.0
|
||||
{% else %}
|
||||
bind-address: {{ shinyproxy_bind_address }}
|
||||
{% endif %}
|
||||
port: {{ shinyproxy_http_port }}
|
||||
hide-navbar: {{ shinyproxy_hide_navbar }}
|
||||
{% if shinyproxy_custom_template %}
|
||||
template-path: {{ shinyproxy_template_path }}
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in New Issue