mirror of
https://github.com/linuxserver/docker-unifi-network-application.git
synced 2024-09-19 23:57:29 -07:00
Bot Updating Templated Files
This commit is contained in:
parent
814c205916
commit
423a4f926d
|
@ -81,9 +81,9 @@ else
|
||||||
mongo_init_bin='mongo'
|
mongo_init_bin='mongo'
|
||||||
fi
|
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}"
|
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