furtka-apps/apps/mosquitto/mosquitto.conf

16 lines
563 B
Text
Raw Normal View History

# Furtka Mosquitto broker config.
#
# Auth is mandatory: anonymous publish/subscribe is off and every client
# must present credentials. Accounts are NOT managed by hand here — each
# consumer app (e.g. zigbee2mqtt) provisions its own account through the
# install/start hooks in ./scripts/, which call mosquitto_passwd against the
# password_file below. The file lives on the persistent data volume so
# accounts survive reboots.
listener 1883
allow_anonymous false
password_file /mosquitto/data/passwd
persistence true
persistence_location /mosquitto/data/