fix(S2-a): mount broker auth files outside source tree
This commit is contained in:
@@ -28,7 +28,9 @@ and are excluded from Git.
|
||||
|
||||
The live password database is likewise outside Git at
|
||||
`/home/ubuntu/.config/ul-platform/mosquitto.passwd`, bind-mounted read-only as
|
||||
`/mosquitto/secrets/passwd`. Provisioning updates that host file and restarts Mosquitto; the
|
||||
`/run/secrets/mosquitto_passwd`. The deployed ACL is copied to
|
||||
`/home/ubuntu/.config/ul-platform/mosquitto.acl` and bind-mounted beside it. Both files are owned
|
||||
by broker uid/gid 1883 with mode 0600. Provisioning updates the host password file and restarts Mosquitto; the
|
||||
tracked `mosquitto/config/passwd` is only a legacy/bootstrap sample and must not receive new
|
||||
organization credentials.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user