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
+3 -1
View File
@@ -10,6 +10,9 @@ services:
- target: 443
published: 443
mode: host
- target: 1883
published: 1883
mode: host
- target: 5432
published: 5432
mode: host
@@ -24,7 +27,6 @@ services:
# mode: host
# - "8083:8083"
# - "8084:8084"
# - "5432:5432"
# - "7687:7687"
deploy:
placement: