listener 1883 persistence true persistence_location /mosquitto/data/ ## Authentication ## # Create passwd file: mosquitto_passwd -c /mosquitto/config/passwd # You need to make down && make up to use the new passwd file allow_anonymous false password_file /mosquitto/config/passwd ## Logging - possibilities: error, warning, notice, information, all log_type warning