mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-23 01:39:27 +02:00
27 lines
586 B
Plaintext
27 lines
586 B
Plaintext
#
|
|
# Docs: https://mosquitto.org/man/mosquitto-conf-5.html
|
|
#
|
|
|
|
port 1883
|
|
log_dest stdout
|
|
allow_anonymous false
|
|
password_file /etc/mosquitto/pwfile
|
|
persistence true
|
|
persistence_location /var/lib/mosquitto/
|
|
|
|
###### ENABLE WS ######
|
|
#listener 8080
|
|
#protocol websockets
|
|
#capath /etc/ssl/certs
|
|
#certfile /var/lib/mosquitto/fullchain.pem
|
|
#keyfile /var/lib/mosquitto/privkey.pem
|
|
#require_certificate false
|
|
|
|
###### ENABLE TLS ######
|
|
#listener 8883
|
|
#protocol mqtt
|
|
#capath /etc/ssl/certs
|
|
#certfile /var/lib/mosquitto/fullchain.pem
|
|
#keyfile /var/lib/mosquitto/privkey.pem
|
|
#require_certificate false
|