Add mosquitto entry point

This commit is contained in:
2025-12-29 16:06:33 +01:00
parent 0a6081ee6e
commit b1bec24bc3
3 changed files with 22 additions and 0 deletions

View File

@@ -11,6 +11,8 @@ services:
- mosquitto
environment:
- MONGO_URI=mongodb://mongo:27017/mydb
- LOCAL_BROKER_USERNAME=main
- LOCAL_BROKER_PASSWORD=hepl
- LOCAL_BROKER_ADDRESS=customer-broker
- LOCAL_BROKER_PORT=1883
- API_BROKER_ADDRESS=192.168.15.120
@@ -35,6 +37,7 @@ services:
ports:
- "1883:1883"
- "8883:8883"
command: ["sh", "/mosquitto/config/init-mosquitto.sh"]
volumes:
- ./mosquitto/config:/mosquitto/config
- ./mosquitto/data:/mosquitto/data