MQTT broker add
This commit is contained in:
20
mosquitto/config/mosquitto.conf
Normal file
20
mosquitto/config/mosquitto.conf
Normal file
@@ -0,0 +1,20 @@
|
||||
listener 1883
|
||||
listener 9001
|
||||
protocol websockets
|
||||
|
||||
persistence true
|
||||
persistence_location /mosquitto/data/
|
||||
|
||||
# Authentication
|
||||
allow_anonymous false
|
||||
password_file /mosquitto/config/pwfile
|
||||
|
||||
# Logging
|
||||
log_dest stdout
|
||||
log_timestamp true
|
||||
log_type all
|
||||
|
||||
# Performance
|
||||
max_connections -1
|
||||
max_queued_messages 1000
|
||||
|
||||
Reference in New Issue
Block a user