Skip to content

Commit 0f28c48

Browse files
committed
Merge remote-tracking branch 'origin/main' into replace-placeholers-in-proeprties
# Conflicts: # readme-vars.yml
2 parents d47a121 + 8700189 commit 0f28c48

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,8 @@ db.createUser({
8888
pwd: "${MONGO_PASS}",
8989
roles: [
9090
{ 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" }
9293
]
9394
})
9495
EOF
@@ -414,6 +415,7 @@ Once registered you can define the dockerfile to use with `-f Dockerfile.aarch64
414415

415416
## Versions
416417

418+
* **08.05.25:** - Update sample `init-mongo.sh` for compatibility with 9.1.120 (only affects new installs).
417419
* **13.02.25:** - Revert JRE to 17.
418420
* **12.02.25:** - Bump JRE to 21.
419421
* **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.

package_versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ libsemanage-common 3.5-1build5 deb
225225
libsemanage2 3.5-1build5 deb
226226
libsepol2 3.5-2build1 deb
227227
libsmartcols1 2.39.3-9ubuntu6.2 deb
228-
libsqlite3-0 3.45.1-1ubuntu2.1 deb
228+
libsqlite3-0 3.45.1-1ubuntu2.3 deb
229229
libss2 1.47.0-2.4~exp1ubuntu4.1 deb
230230
libssh-4 0.10.6-2build2 deb
231231
libssl3t64 3.0.13-0ubuntu3.5 deb

readme-vars.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ app_setup_block: |
7575
pwd: "${MONGO_PASS}",
7676
roles: [
7777
{ db: "${MONGO_DBNAME}", role: "dbOwner" },
78-
{ db: "${MONGO_DBNAME}_stat", role: "dbOwner" }
78+
{ db: "${MONGO_DBNAME}_stat", role: "dbOwner" },
79+
{ db: "${MONGO_DBNAME}_audit", role: "dbOwner" }
7980
]
8081
})
8182
EOF
@@ -155,12 +156,14 @@ init_diagram: |
155156
init-unifi-network-application-config -> init-config-end
156157
init-config -> init-crontab-config
157158
init-mods-end -> init-custom-files
159+
init-adduser -> init-device-perms
158160
base -> init-envfile
159161
base -> init-migrations
160162
init-config-end -> init-mods
161163
init-mods-package-install -> init-mods-end
162164
init-mods -> init-mods-package-install
163165
init-adduser -> init-os-end
166+
init-device-perms -> init-os-end
164167
init-envfile -> init-os-end
165168
init-custom-files -> init-services
166169
init-config -> init-unifi-network-application-config
@@ -175,7 +178,8 @@ init_diagram: |
175178
"unifi-network-application:latest" <- Base Images
176179
# changelog
177180
changelogs:
178-
- {date: "07.05.25:", desc: "Change environment variables" }
181+
- {date: "07.06.25:", desc: "Change environment variables"}
182+
- {date: "08.05.25:", desc: "Update sample `init-mongo.sh` for compatibility with 9.1.120 (only affects new installs)."}
179183
- {date: "13.02.25:", desc: "Revert JRE to 17."}
180184
- {date: "12.02.25:", desc: "Bump JRE to 21."}
181185
- {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

Comments
 (0)