Configure shinyproxy to use the haproxy network
This commit is contained in:
parent
7b6241674f
commit
b83bd00624
|
@ -12,8 +12,9 @@ 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 }}
|
||||
- haproxy-public
|
||||
{% if shinyproxy_container_backend == 'docker-swarm' %}
|
||||
deploy:
|
||||
mode: replicated
|
||||
|
@ -32,3 +33,7 @@ services:
|
|||
driver: 'journald'
|
||||
{% endif %}
|
||||
|
||||
networks:
|
||||
{{ shinyproxy_docker_network }}:
|
||||
haproxy-public:
|
||||
external: True
|
Loading…
Reference in New Issue