# https://mosquitto.org/man/mosquitto-conf-5.html
allow_anonymous true
password_file /etc/mosquitto/passwd
# TLS
# False for testing purposes
# require_certificate false
# certfile /mosquitto/certs/server.crt
# keyfile /mosquitto/certs/server.key
# cafile /mosquitto/certs/ca.crt
autosave_interval 1800
# Logging
log_type all
log_dest stdout
listener 1883 0.0.0.0
listener 9001 0.0.0.0
protocol websockets
persistence true
persistence_file mosquitto.db
persistence_location /mosquitto/data/