Refactor swarm/secondary.yml to remove placement constraints for emqx service

This commit is contained in:
2024-06-06 15:38:33 +08:00
parent 895abd694b
commit 1ff9a29fb0
+3 -3
View File
@@ -20,9 +20,9 @@ services:
# - 8883:8883
# - 18083:18083
deploy:
placement:
constraints:
- node.labels.emqx1.emqx-data1 == true
# placement:
# constraints:
# - node.labels.emqx1.emqx-data1 == true
labels:
- traefik.enable=true
- traefik.docker.network=traefik-public