Do not use dnsrr when publishing ports.

This commit is contained in:
Andrea Dell'Amico 2023-05-26 18:11:07 +02:00
parent 6497b249b4
commit fe74fd7b17
Signed by: adellam
GPG Key ID: 147ABE6CEB9E20FF
1 changed files with 3 additions and 0 deletions

View File

@ -67,7 +67,10 @@ services:
deploy:
mode: replicated
replicas: 1
{% if docker_swarm_cluster_haproxy_install %}
endpoint_mode: dnsrr
{% endif %}
restart_policy:
condition: on-failure
delay: 5s