Do not use dnsrr when publishing ports.
This commit is contained in:
parent
6497b249b4
commit
fe74fd7b17
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue