An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fix: Update password variables in Service model
Andras Bacsai1b79f78fda7b
diff --git a/app/Models/Service.php b/app/Models/Service.phpindex bcdb74f8c9..a5fef93764 100644--- a/app/Models/Service.php+++ b/app/Models/Service.php@@ -982,8 +982,8 @@ class Service extends BaseModelbreak;case $image->contains('mysql'):$userVariables = ['SERVICE_USER_MYSQL', 'SERVICE_USER_WORDPRESS', 'MYSQL_USER'];- $passwordVariables = ['SERVICE_PASSWORD_MYSQL', 'SERVICE_PASSWORD_WORDPRESS', 'MYSQL_PASSWORD'];- $rootPasswordVariables = ['SERVICE_PASSWORD_MYSQLROOT', 'SERVICE_PASSWORD_ROOT'];+ $passwordVariables = ['SERVICE_PASSWORD_MYSQL', 'SERVICE_PASSWORD_WORDPRESS', 'MYSQL_PASSWORD','SERVICE_PASSWORD_64_MYSQL'];+ $rootPasswordVariables = ['SERVICE_PASSWORD_MYSQLROOT', 'SERVICE_PASSWORD_ROOT','SERVICE_PASSWORD_64_MYSQLROOT'];$dbNameVariables = ['MYSQL_DATABASE'];$mysql_user = $this->environment_variables()->whereIn('key', $userVariables)->first();$mysql_password = $this->environment_variables()->whereIn('key', $passwordVariables)->first();