You've already forked Atomcms-edit
fix: suppress MariaDB SSL warning for passwordless login
This commit is contained in:
+1
-1
@@ -52,7 +52,7 @@ NITRO_ASSET_URL="${NITRO_ASSET_URL:-https://epicnabbo.nl/gamedata/bundled}"
|
|||||||
NITRO_FURNI_ASSET_ICON_URL="${NITRO_FURNI_ASSET_ICON_URL:-https://epicnabbo.nl/gamedata/icons/%libname%%param%_icon.png}"
|
NITRO_FURNI_ASSET_ICON_URL="${NITRO_FURNI_ASSET_ICON_URL:-https://epicnabbo.nl/gamedata/icons/%libname%%param%_icon.png}"
|
||||||
|
|
||||||
# Build MySQL/MariaDB credentials argument (password via MYSQL_PWD — not visible in ps)
|
# Build MySQL/MariaDB credentials argument (password via MYSQL_PWD — not visible in ps)
|
||||||
MYSQL_CRED="-h $DB_HOST -P $DB_PORT -u $DB_USER"
|
MYSQL_CRED="-h $DB_HOST -P $DB_PORT -u $DB_USER --ssl-verify-server-cert=OFF"
|
||||||
if [ -n "$DB_PASS" ]; then
|
if [ -n "$DB_PASS" ]; then
|
||||||
export MYSQL_PWD="$DB_PASS"
|
export MYSQL_PWD="$DB_PASS"
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user