persistence true persistence_location /mosquitto/data/ log_dest file /mosquitto/log/mosquitto.log listener 1883 0.0.0.0 # Listen on all network interfaces # Authentication - Start with this to test, then add passwords allow_anonymous true password_file /mosquitto/config/password.txt