mirror of
https://github.com/linuxserver/docker-unifi-network-application.git
synced 2024-11-09 23:24:08 -08:00
commit
7e2e986a6b
|
@ -83,7 +83,6 @@ fi
|
||||||
"${mongo_init_bin}" <<EOF
|
"${mongo_init_bin}" <<EOF
|
||||||
use ${MONGO_AUTHSOURCE}
|
use ${MONGO_AUTHSOURCE}
|
||||||
db.auth("${MONGO_INITDB_ROOT_USERNAME}", "${MONGO_INITDB_ROOT_PASSWORD}")
|
db.auth("${MONGO_INITDB_ROOT_USERNAME}", "${MONGO_INITDB_ROOT_PASSWORD}")
|
||||||
use ${MONGO_DBNAME}
|
|
||||||
db.createUser({
|
db.createUser({
|
||||||
user: "${MONGO_USER}",
|
user: "${MONGO_USER}",
|
||||||
pwd: "${MONGO_PASS}",
|
pwd: "${MONGO_PASS}",
|
||||||
|
|
|
@ -77,7 +77,6 @@ app_setup_block: |
|
||||||
"${mongo_init_bin}" <<EOF
|
"${mongo_init_bin}" <<EOF
|
||||||
use ${MONGO_AUTHSOURCE}
|
use ${MONGO_AUTHSOURCE}
|
||||||
db.auth("${MONGO_INITDB_ROOT_USERNAME}", "${MONGO_INITDB_ROOT_PASSWORD}")
|
db.auth("${MONGO_INITDB_ROOT_USERNAME}", "${MONGO_INITDB_ROOT_PASSWORD}")
|
||||||
use ${MONGO_DBNAME}
|
|
||||||
db.createUser({
|
db.createUser({
|
||||||
user: "${MONGO_USER}",
|
user: "${MONGO_USER}",
|
||||||
pwd: "${MONGO_PASS}",
|
pwd: "${MONGO_PASS}",
|
||||||
|
|
Loading…
Reference in a new issue