mirror of
https://github.com/linuxserver/docker-unifi-network-application.git
synced 2024-12-25 05:34:08 -08:00
Bot Updating Templated Files
This commit is contained in:
parent
814c205916
commit
423a4f926d
|
@ -81,9 +81,9 @@ else
|
|||
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