Mosquitto is an open source MQTT broker.
- Mosquitto MQTT broker without authentication
- e.g. for internal use with Home Assistant
-
DNS
A
orCNAME
record pointing to your server for the MQTT serviceExample:
# A record mqtt.borntoberoot.net --> 192.168.178.10 # CNAME record mqtt.borntoberoot.net --> server01.borntoberoot.net
-
Adjust the configuration based on your needs in the following files:
/opt/container/stacks/mosquitto/docker-compose.yml
/opt/container/stacks/mosquitto/data/mosquitto/config/mosquitto.conf
-
Start the stack with
docker-compose up -d