Skip to content

Commit 7c4f706

Browse files
authored
Merge pull request #60 from dkaygithub/main
Update readme-vars.yml
2 parents 7e853dc + 38b0c4f commit 7c4f706

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

readme-vars.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,12 @@ app_setup_block: |
9393
EOF
9494
```
9595
96+
If you are using the Mongo v4 (the latest which does not require AVX):
97+
98+
```js
99+
db.getSiblingDB("MONGO_DBNAME").createUser({user: "MONGO_USER", pwd: "MONGO_PASS", roles: [{role: "dbOwner", db: "MONGO_DBNAME"}, {role: "dbOwner", db: "MONGO_DBNAME_stat"}]});
100+
```
101+
96102
Being sure to replace the placeholders with the same values you supplied to the Unifi container, and mount it into your *mongodb* container.
97103
98104
For example:

0 commit comments

Comments
 (0)