Created
March 1, 2022 05:56
-
-
Save i40sys/c6032349f8d90c6809447c9656a021c9 to your computer and use it in GitHub Desktop.
This file contains 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: '3.3' | |
services: | |
mqtt: | |
container_name: mqtt | |
ports: | |
- '1883:1883' | |
- '9001:9001' | |
volumes: | |
- './etc/mosquitto.conf:/mosquitto/config/mosquitto.conf:ro' | |
- './etc/mqtt_users:/mosquitto/config/mqtt_users:ro' | |
- './data:/mosquitto/data' | |
- './log:/mosquitto/log' | |
restart: unless-stopped | |
image: eclipse-mosquitto |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment