Update readme wording

This commit is contained in:
TheSpad 2023-09-05 19:22:59 +01:00
parent 3a6ab74c6d
commit bf2ef304e0
No known key found for this signature in database
GPG key ID: 08F06191F4587860
2 changed files with 4 additions and 4 deletions

View file

@ -65,9 +65,9 @@ The web UI is at https://ip:8443, setup with the first run wizard.
### Setting Up Your External Database ### Setting Up Your External Database
Formally only mongodb 3.6 through 4.4 are supported, however, it has been reported that versions up to and including 7 will work. If you choose to use a newer version be aware that you will not be operating a supported configuration. Formally only mongodb 3.6 through 4.4 are supported, however, it has been reported that newer versions will work. If you choose to use a newer version be aware that you will not be operating a supported configuration.
Create your databases using an `init-mongo.js` file with the following contents: If you are using the [official mongodb container](https://hub.docker.com/_/mongo/), you can create your databases using an `init-mongo.js` file with the following contents:
```js ```js
db.getSiblingDB("MONGO_DBNAME").createUser({user: "MONGO_USER", pwd: "MONGO_PASS", roles: [{role: "readWrite", db: "MONGO_DBNAME"}]}); db.getSiblingDB("MONGO_DBNAME").createUser({user: "MONGO_USER", pwd: "MONGO_PASS", roles: [{role: "readWrite", db: "MONGO_DBNAME"}]});

View file

@ -59,9 +59,9 @@ app_setup_block: |
### Setting Up Your External Database ### Setting Up Your External Database
Formally only mongodb 3.6 through 4.4 are supported, however, it has been reported that versions up to and including 7 will work. If you choose to use a newer version be aware that you will not be operating a supported configuration. Formally only mongodb 3.6 through 4.4 are supported, however, it has been reported that newer versions will work. If you choose to use a newer version be aware that you will not be operating a supported configuration.
Create your databases using an `init-mongo.js` file with the following contents: If you are using the [official mongodb container](https://hub.docker.com/_/mongo/), you can create your databases using an `init-mongo.js` file with the following contents:
```js ```js
db.getSiblingDB("MONGO_DBNAME").createUser({user: "MONGO_USER", pwd: "MONGO_PASS", roles: [{role: "readWrite", db: "MONGO_DBNAME"}]}); db.getSiblingDB("MONGO_DBNAME").createUser({user: "MONGO_USER", pwd: "MONGO_PASS", roles: [{role: "readWrite", db: "MONGO_DBNAME"}]});