Emphasise mongodb container

This commit is contained in:
TheSpad 2023-09-06 13:46:46 +01:00
parent d842a2fcda
commit e1b5afc220
No known key found for this signature in database
GPG key ID: 08F06191F4587860
2 changed files with 2 additions and 2 deletions

View file

@ -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:

View file

@ -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: