Bot Updating Templated Files

This commit is contained in:
LinuxServer-CI 2024-08-12 13:02:22 +00:00
parent 814c205916
commit 423a4f926d

View file

@ -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}",