# Minimal Mosquitto config for dev/test persistence true persistence_location /mosquitto/data/ log_dest stdout # allow anonymous for local dev; for prod, create password_file and set allow_anonymous false allow_anonymous true # listeners listener 1883 0.0.0.0 protocol mqtt # optional websocket listener # listener 9001 0.0.0.0 # protocol websockets