1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-01-10 04:19:24 +02:00
dockerfiles/mosquitto/data/etc/mosquitto.conf

30 lines
727 B
Plaintext
Raw Normal View History

2017-05-22 04:32:13 +02:00
#
# Docs: https://mosquitto.org/man/mosquitto-conf-5.html
#
2021-11-15 07:37:03 +02:00
listener 1883
2016-11-02 19:34:54 +02:00
log_dest stdout
2017-04-22 06:19:52 +02:00
allow_anonymous false
password_file /etc/mosquitto/pwfile
2016-11-02 19:34:54 +02:00
persistence true
2021-11-15 07:37:03 +02:00
persistence_location /var/lib/mosquitto
persistence_file mosquitto.db
#plugin /usr/lib/mosquitto_dynamic_security.so
#plugin_opt_config_file /etc/mosquitto/dynamic-security.json
2017-05-22 04:32:13 +02:00
###### ENABLE WS ######
#listener 8080
#protocol websockets
2017-05-22 08:48:55 +02:00
#capath /etc/ssl/certs
2017-05-22 04:32:13 +02:00
#certfile /var/lib/mosquitto/fullchain.pem
#keyfile /var/lib/mosquitto/privkey.pem
#require_certificate false
###### ENABLE TLS ######
#listener 8883
#protocol mqtt
2017-05-22 08:48:55 +02:00
#capath /etc/ssl/certs
2017-05-22 04:32:13 +02:00
#certfile /var/lib/mosquitto/fullchain.pem
#keyfile /var/lib/mosquitto/privkey.pem
#require_certificate false