This commit is contained in:
Christoph K.
2026-03-11 16:26:11 +01:00
commit 402395c856
9 changed files with 236 additions and 0 deletions

View 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