Refactor swarm/core.yml to add host mode publishing for MQTT port

This commit is contained in:
2024-06-02 18:11:05 +08:00
parent 0360e165f4
commit ff31f5c064
2 changed files with 5 additions and 3 deletions
+2 -2
View File
@@ -6,6 +6,8 @@ services:
interval: 60s
timeout: 25s
retries: 5
volumes:
- emqx-data1:/opt/emqx/data
networks:
- traefik-public
# ports:
@@ -17,8 +19,6 @@ services:
# - 8084:8084
# - 8883:8883
# - 18083:18083
volumes:
- emqx-data1:/opt/emqx/data
deploy:
placement:
constraints: