You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+3-1Lines changed: 3 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -88,7 +88,8 @@ db.createUser({
88
88
pwd: "${MONGO_PASS}",
89
89
roles: [
90
90
{ db: "${MONGO_DBNAME}", role: "dbOwner" },
91
-
{ db: "${MONGO_DBNAME}_stat", role: "dbOwner" }
91
+
{ db: "${MONGO_DBNAME}_stat", role: "dbOwner" },
92
+
{ db: "${MONGO_DBNAME}_audit", role: "dbOwner" }
92
93
]
93
94
})
94
95
EOF
@@ -414,6 +415,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
414
415
415
416
## Versions
416
417
418
+
***08.05.25:** - Update sample `init-mongo.sh`for compatibility with 9.1.120 (only affects new installs).
417
419
***13.02.25:** - Revert JRE to 17.
418
420
***12.02.25:** - Bump JRE to 21.
419
421
***11.08.24:** - **Important**: The mongodb init instructions have been updated to enable auth ([RBAC](https://www.mongodb.com/docs/manual/core/authorization/#role-based-access-control)). We have been notified that if RBAC is not enabled, the official mongodb container allows remote access to the db contents over port 27017 without credentials. If you set up the mongodb container with the old instructions we provided, you should not map or expose port 27017. If you would like to enable auth, the easiest way is to create new instances of both unifi and mongodb with the new instructions and restore unifi from a backup.
- {date: "08.05.25:", desc: "Update sample `init-mongo.sh` for compatibility with 9.1.120 (only affects new installs)."}
179
183
- {date: "13.02.25:", desc: "Revert JRE to 17."}
180
184
- {date: "12.02.25:", desc: "Bump JRE to 21."}
181
185
- {date: "11.08.24:", desc: "**Important**: The mongodb init instructions have been updated to enable auth ([RBAC](https://www.mongodb.com/docs/manual/core/authorization/#role-based-access-control)). We have been notified that if RBAC is not enabled, the official mongodb container allows remote access to the db contents over port 27017 without credentials. If you set up the mongodb container with the old instructions we provided, you should not map or expose port 27017. If you would like to enable auth, the easiest way is to create new instances of both unifi and mongodb with the new instructions and restore unifi from a backup."}
0 commit comments