init
This commit is contained in:
28
mosquitto/config/mosquitto.conf
Normal file
28
mosquitto/config/mosquitto.conf
Normal file
@@ -0,0 +1,28 @@
|
||||
# Mosquitto MQTT Broker Configuration
|
||||
|
||||
# Persistence
|
||||
persistence true
|
||||
persistence_location /mosquitto/data/
|
||||
|
||||
# Logging
|
||||
log_dest file /mosquitto/log/mosquitto.log
|
||||
log_dest stdout
|
||||
log_type error
|
||||
log_type warning
|
||||
log_type notice
|
||||
log_type information
|
||||
|
||||
# MQTT Listener (plain)
|
||||
listener 1883
|
||||
protocol mqtt
|
||||
|
||||
# WebSocket Listener
|
||||
listener 9001
|
||||
protocol websockets
|
||||
|
||||
# Authentication
|
||||
# Für lokale Tests: anonym erlaubt, kein Passwort nötig
|
||||
allow_anonymous true
|
||||
# Für Produktion: anonym deaktivieren und passwd-Datei einbinden
|
||||
# allow_anonymous false
|
||||
# password_file /mosquitto/config/passwd
|
||||
Reference in New Issue
Block a user