docker-stacks/mosquitto/config/mosquitto.conf.dist
Alexey Skobkin c516ab170a
All checks were successful
continuous-integration/drone/pr Build is passing
mosquitto. Example config fix for persistence.
2024-11-08 12:28:46 +00:00

19 lines
498 B
Plaintext

# Mosquitto configuration
persistence true
persistence_location /data
#log_dest file /logs/mosquitto.log
# Default listener for unencrypted connections
listener 1883
allow_anonymous false
# Optional TLS listener
listener 1884
# Uncomment and configure the following for TLS
# cafile /etc/mosquitto/ca_certificates/ca.crt
# certfile /etc/mosquitto/certs/server.crt
# keyfile /etc/mosquitto/certs/server.key
# Include directory for additional configuration files
include_dir /etc/mosquitto/conf.d