mirror of
https://github.com/linuxserver/docker-unifi-network-application.git
synced 2024-11-09 23:24:08 -08:00
Update readme wording
This commit is contained in:
parent
3a6ab74c6d
commit
bf2ef304e0
|
@ -65,9 +65,9 @@ The web UI is at https://ip:8443, setup with the first run wizard.
|
|||
|
||||
### 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
|
||||
db.getSiblingDB("MONGO_DBNAME").createUser({user: "MONGO_USER", pwd: "MONGO_PASS", roles: [{role: "readWrite", db: "MONGO_DBNAME"}]});
|
||||
|
|
|
@ -59,9 +59,9 @@ app_setup_block: |
|
|||
|
||||
### 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
|
||||
db.getSiblingDB("MONGO_DBNAME").createUser({user: "MONGO_USER", pwd: "MONGO_PASS", roles: [{role: "readWrite", db: "MONGO_DBNAME"}]});
|
||||
|
|
Loading…
Reference in a new issue