mirror of
https://github.com/furyhawk/cloudy.git
synced 2026-05-22 16:06:51 +00:00
Refactor swarm/core.yml to add host mode publishing for MQTT port
This commit is contained in:
+3
-1
@@ -10,6 +10,9 @@ services:
|
|||||||
- target: 443
|
- target: 443
|
||||||
published: 443
|
published: 443
|
||||||
mode: host
|
mode: host
|
||||||
|
- target: 1883
|
||||||
|
published: 1883
|
||||||
|
mode: host
|
||||||
- target: 5432
|
- target: 5432
|
||||||
published: 5432
|
published: 5432
|
||||||
mode: host
|
mode: host
|
||||||
@@ -24,7 +27,6 @@ services:
|
|||||||
# mode: host
|
# mode: host
|
||||||
# - "8083:8083"
|
# - "8083:8083"
|
||||||
# - "8084:8084"
|
# - "8084:8084"
|
||||||
# - "5432:5432"
|
|
||||||
# - "7687:7687"
|
# - "7687:7687"
|
||||||
deploy:
|
deploy:
|
||||||
placement:
|
placement:
|
||||||
|
|||||||
+2
-2
@@ -6,6 +6,8 @@ services:
|
|||||||
interval: 60s
|
interval: 60s
|
||||||
timeout: 25s
|
timeout: 25s
|
||||||
retries: 5
|
retries: 5
|
||||||
|
volumes:
|
||||||
|
- emqx-data1:/opt/emqx/data
|
||||||
networks:
|
networks:
|
||||||
- traefik-public
|
- traefik-public
|
||||||
# ports:
|
# ports:
|
||||||
@@ -17,8 +19,6 @@ services:
|
|||||||
# - 8084:8084
|
# - 8084:8084
|
||||||
# - 8883:8883
|
# - 8883:8883
|
||||||
# - 18083:18083
|
# - 18083:18083
|
||||||
volumes:
|
|
||||||
- emqx-data1:/opt/emqx/data
|
|
||||||
deploy:
|
deploy:
|
||||||
placement:
|
placement:
|
||||||
constraints:
|
constraints:
|
||||||
|
|||||||
Reference in New Issue
Block a user