Kris Lamoureux
03c9d835dc
- Write initial docker-compose.yml for Unifi containers - Create a template for initializing MongoDB databases - Add README with setup instructions for the initial environment
8 lines
172 B
JavaScript
8 lines
172 B
JavaScript
db.getSiblingDB("unifi").createUser({
|
|
user: "unifi",
|
|
pwd: "changeme",
|
|
roles: [
|
|
{ role: "dbOwner", db: "unifi" },
|
|
{ role: "dbOwner", db: "unifi_stat" }
|
|
]
|
|
}); |