Use dnsrr as endpoint mode when deployed as swarm.
This commit is contained in:
parent
54c2d597a4
commit
0be2fa56e3
|
@ -67,9 +67,7 @@ services:
|
|||
deploy:
|
||||
mode: replicated
|
||||
replicas: {{ shinyproxy_docker_swarm_replicas }}
|
||||
{% if shinyproxy_docker_swarm_behind_haproxy %}
|
||||
endpoint_mode: dnsrr
|
||||
{% endif %}
|
||||
placement:
|
||||
constraints: [node.role == manager]
|
||||
restart_policy:
|
||||
|
|
Loading…
Reference in New Issue