Dateien nach "install-unifi-network-application-on-docker" hochladen

This commit is contained in:
2024-02-12 21:30:15 +00:00
parent af8b62ed51
commit 33641eefa2
2 changed files with 53 additions and 0 deletions
@@ -0,0 +1,9 @@
// Connect to the "unifi" database and create a user
db.getSiblingDB("unifi").createUser({
user: "unifi",
pwd: "unifi_password", // Replace with your actual password
roles: [
{ role: "dbOwner", db: "unifi" }, // Assign the "dbOwner" role for the "unifi" database
{ role: "dbOwner", db: "unifi_stat" }, // Assign the "dbOwner" role for the "unifi_stat" database
],
});