Move MQTT out of the main compose for testing server and client disconnects
This commit is contained in:
19
mqtt-compose.yml
Normal file
19
mqtt-compose.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
services:
|
||||
# The Post Office (MQTT Broker)
|
||||
mqtt-broker:
|
||||
image: eclipse-mosquitto:latest
|
||||
container_name: radio-mqtt
|
||||
restart: always
|
||||
ports:
|
||||
- "1883:1883"
|
||||
- "9001:9001"
|
||||
volumes:
|
||||
- ./mosquitto/config/:/mosquitto/config/
|
||||
- ./mosquitto/data/:/mosquitto/data/
|
||||
- ./mosquitto/log/:/mosquitto/log/
|
||||
networks:
|
||||
- radio-shared-net
|
||||
|
||||
networks:
|
||||
radio-shared-net:
|
||||
external: true
|
||||
Reference in New Issue
Block a user