mqtt fix 2
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
# MQTT_NODE_PASS — shared password for all edge nodes
|
||||
set -e
|
||||
|
||||
PASSWD_FILE=/mosquitto/data/passwd
|
||||
PASSWD_FILE=/tmp/passwd
|
||||
|
||||
# Remove any stale file so we start clean on every container start
|
||||
rm -f "$PASSWD_FILE"
|
||||
|
||||
@@ -2,7 +2,7 @@ listener 1883
|
||||
allow_anonymous false
|
||||
|
||||
# Credentials and ACLs are generated/mounted at container startup
|
||||
password_file /mosquitto/data/passwd
|
||||
password_file /tmp/passwd
|
||||
acl_file /mosquitto/config/acl.conf
|
||||
|
||||
# Persist retained messages (e.g. api_key, node status) across broker restarts
|
||||
|
||||
Reference in New Issue
Block a user