1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2025-01-26 05:27:27 +02:00
dockerfiles/mosquitto/data/mosquitto.conf

27 lines
631 B
Plaintext
Raw Normal View History

2017-05-22 10:32:13 +08:00
#
# Docs: https://mosquitto.org/man/mosquitto-conf-5.html
#
port 1883
2016-11-03 01:34:54 +08:00
log_dest stdout
2017-04-22 12:19:52 +08:00
allow_anonymous false
password_file /etc/mosquitto/pwfile
2016-11-03 01:34:54 +08:00
persistence true
persistence_location /var/lib/mosquitto
2017-05-22 10:32:13 +08:00
###### ENABLE WS ######
#listener 8080
#protocol websockets
#cafile /var/lib/mosquitto/DST_Root_CA_X3.pem
#certfile /var/lib/mosquitto/fullchain.pem
#keyfile /var/lib/mosquitto/privkey.pem
#require_certificate false
###### ENABLE TLS ######
#listener 8883
#protocol mqtt
#cafile /var/lib/mosquitto/DST_Root_CA_X3.pem
#certfile /var/lib/mosquitto/fullchain.pem
#keyfile /var/lib/mosquitto/privkey.pem
#require_certificate false