exposing mqtt port

This commit is contained in:
root
2023-11-15 23:10:18 -06:00
parent f9064fbab7
commit 8b09ff86f9

View File

@@ -8,6 +8,8 @@ services:
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
- ./mosquitto:/mosquitto - ./mosquitto:/mosquitto
ports:
- 1883:1883
healthcheck: healthcheck:
test: ["CMD", "mosquitto_sub", "-t", "$$SYS/#", "-C", "1", "-i", "healthcheck", "-W", "3"] test: ["CMD", "mosquitto_sub", "-t", "$$SYS/#", "-C", "1", "-i", "healthcheck", "-W", "3"]
start_period: 15s start_period: 15s