Created
July 9, 2024 01:06
-
-
Save parrotmac/50854ff077c9149c8c26711dde42c98f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
broker: | |
image: eclipse-mosquitto:latest | |
restart: always | |
container_name: mqtt-broker | |
ports: | |
- 1883:1883 | |
- 8883:8883 | |
- 9001:9001 | |
volumes: | |
- ./config/:/mosquitto/config/ | |
- ./data/:/mosquitto/data/ | |
- ./log/:/mosquitto/log/ | |
- ./certs/:/mosquitto/certs/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment