Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
mqtt:
image: eclipse-mosquitto:latest
restart: always
ports:
- "1883:1883"
- "9001:9001"
volumes:
- /opt/conf/mqtt/config:/mosquitto/config
- /opt/conf/mqtt/data:/mosquitto/data
- /opt/conf/mqtt/log:/mosquitto/log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment