test: add mosquitto ACL file and mount it; grant testuser readwrite on lambdaiot topic

This commit is contained in:
2025-12-28 15:55:32 +01:00
parent b0e34a2555
commit 0055a852bb
3 changed files with 7 additions and 0 deletions
+2
View File
@@ -5,6 +5,8 @@ listener 1883 0.0.0.0
allow_anonymous false
# place password file in the data volume (writable)
password_file /mosquitto/data/passwordfile
# ACL file controls topic permissions
acl_file /mosquitto/data/aclfile
# Increase persistence location so container can map volume if needed
persistence true
persistence_location /mosquitto/data/