fix tYpo hidden error

This commit is contained in:
aptalca 2024-08-12 10:07:35 -04:00
parent 423a4f926d
commit 6d5024c61b
No known key found for this signature in database
GPG key ID: BE36CFFB9FD85548
2 changed files with 0 additions and 2 deletions

View file

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

View file

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