Use dnsrr as endpoint mode when deployed as swarm.

This commit is contained in:
Andrea Dell'Amico 2024-07-16 15:28:29 +02:00
parent 54c2d597a4
commit 0be2fa56e3
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 0 additions and 2 deletions

View File

@ -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: