fix: suppress MariaDB SSL warning for passwordless login

This commit is contained in:
root
2026-06-16 20:16:56 +02:00
parent 272dde72bc
commit 4aa6f01779
+1 -1
View File
@@ -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}"
# 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
export MYSQL_PWD="$DB_PASS"
fi