mirror of
https://github.com/linuxserver/docker-unifi-network-application.git
synced 2024-11-09 23:24:08 -08:00
fix init-mongo.sh
This commit is contained in:
parent
40da3b9865
commit
e99b2d4e34
|
@ -75,9 +75,9 @@ app_setup_block: |
|
|||
mongo_init_bin='mongo'
|
||||
fi
|
||||
"${mongo_init_bin}" <<EOF
|
||||
use "{MONGO_AUTHSOURCE}"
|
||||
use ${MONGO_AUTHSOURCE}
|
||||
db.auth("${MONGO_INITDB_ROOT_USERNAME}", "${MONGO_INITDB_ROOT_PASSWORD}")
|
||||
use "${MONGO_DBNAME}"
|
||||
use ${MONGO_DBNAME}
|
||||
db.createUser({
|
||||
user: "${MONGO_USER}",
|
||||
pwd: "${MONGO_PASS}",
|
||||
|
|
Loading…
Reference in a new issue