mirror of
https://github.com/linuxserver/docker-unifi-network-application.git
synced 2024-11-09 23:24:08 -08:00
Emphasise mongodb container
This commit is contained in:
parent
d842a2fcda
commit
e1b5afc220
|
@ -74,7 +74,7 @@ db.getSiblingDB("MONGO_DBNAME").createUser({user: "MONGO_USER", pwd: "MONGO_PASS
|
|||
db.getSiblingDB("MONGO_DBNAME_stat").createUser({user: "MONGO_USER", pwd: "MONGO_PASS", roles: [{role: "readWrite", db: "MONGO_DBNAME_stat"}]});
|
||||
```
|
||||
|
||||
Being sure to replace the placeholders with the same values you supplied to the Unifi container, and mount it into your database container.
|
||||
Being sure to replace the placeholders with the same values you supplied to the Unifi container, and mount it into your *mongodb* container.
|
||||
|
||||
```yaml
|
||||
volumes:
|
||||
|
|
|
@ -68,7 +68,7 @@ app_setup_block: |
|
|||
db.getSiblingDB("MONGO_DBNAME_stat").createUser({user: "MONGO_USER", pwd: "MONGO_PASS", roles: [{role: "readWrite", db: "MONGO_DBNAME_stat"}]});
|
||||
```
|
||||
|
||||
Being sure to replace the placeholders with the same values you supplied to the Unifi container, and mount it into your database container.
|
||||
Being sure to replace the placeholders with the same values you supplied to the Unifi container, and mount it into your *mongodb* container.
|
||||
|
||||
```yaml
|
||||
volumes:
|
||||
|
|
Loading…
Reference in a new issue