docker-compose fix for mqtt

This commit is contained in:
Dirk Alders 2023-06-25 20:05:20 +02:00
parent 3d26f067de
commit 6b3f3aad0b

View File

@ -3,17 +3,8 @@
mqtt:
build: mqtt
volumes:
- type: bind
source: /home/dirk/tmp/mqtt/
target: /mosquitto/
ports:
- target: 1883
published: 1883
protocol: tcp
mode: host
- target: 9001
published: 9001
protocol: tcp
mode: host
- "1883:1883"
- "9001:9001"
volumes:
- /opt/mqtt:/mosquitto