fix(S2-a): mount broker auth files outside source tree

This commit is contained in:
Brent Perteet
2026-08-20 15:53:20 -05:00
parent 8aea87c3cd
commit e552ae4e5c
3 changed files with 12 additions and 9 deletions

View File

@@ -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.