Skip to content

Commit f3e65ae

Browse files
authored
Update readme-vars.yml
Improve ambiguous language
1 parent 8525474 commit f3e65ae

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

readme-vars.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -67,14 +67,14 @@ app_setup_block: |
6767
6868
**MongoDB >4.4 on X86_64 Hardware needs a CPU with AVX support. Some lower end Intel CPU models like Celeron and Pentium (before Tiger-Lake) more Details: [Advanced Vector Extensions - Wikipedia](https://en.wikipedia.org/wiki/Advanced_Vector_Extensions#CPUs_with_AVX) don't support AVX, but you can still use MongoDB 4.4.**
6969
70-
If you are using the [official mongodb container](https://hub.docker.com/_/mongo/) in Version 6 and up, you can create your user using an `init-mongo.js` file with the following contents:
70+
If you are using the [official mongodb container](https://hub.docker.com/_/mongo/) in Version >=6, you can create your user using an `init-mongo.js` file with the following contents:
7171
7272
```js
7373
db.getSiblingDB("MONGO_DBNAME").createUser({user: "MONGO_USER", pwd: "MONGO_PASS", roles: [{role: "dbOwner", db: "MONGO_DBNAME"}]});
7474
db.getSiblingDB("MONGO_DBNAME_stat").createUser({user: "MONGO_USER", pwd: "MONGO_PASS", roles: [{role: "dbOwner", db: "MONGO_DBNAME_stat"}]});
7575
```
7676
77-
If you are using mongodb < 6.0 and below, you can create a `init-mongo.sh` file with the following contents:
77+
If you are using mongodb < 6.0, you can create a `init-mongo.sh` file with the following contents:
7878
```sh
7979
#!/bin/bash
8080
@@ -96,7 +96,7 @@ app_setup_block: |
9696
Being sure to replace the placeholders with the same values you supplied to the Unifi container, and mount it into your *mongodb* container.
9797
9898
For example:
99-
MongoDB >= 6.0 and up:
99+
MongoDB >= 6.0:
100100
```yaml
101101
unifi-db:
102102
image: docker.io/mongo:<version tag>

0 commit comments

Comments
 (0)