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(parsers): clarify comments and update variable checks for FQDN and URL handling
Andras Bacsai936a192236c0
diff --git a/bootstrap/helpers/parsers.php b/bootstrap/helpers/parsers.phpindex e5e0cbe86b..a2afcd9f38 100644--- a/bootstrap/helpers/parsers.php+++ b/bootstrap/helpers/parsers.php@@ -990,7 +990,7 @@ function serviceParser(Service $resource): Collection}}}- // Get magic environments where we need to preset the FQDN+ // Get magic environments where we need to preset the FQDN / URLif ($key->startsWith('SERVICE_FQDN_') || $key->startsWith('SERVICE_URL_')) {// SERVICE_FQDN_APP or SERVICE_FQDN_APP_3000if (substr_count(str($key)->value(), '_') === 3) {@@ -1457,7 +1457,7 @@ function serviceParser(Service $resource): Collection$value = str($value);$originalValue = $value;$parsedValue = replaceVariables($value);- if ($value->startsWith('$SERVICE_')) {+ if ($parsedValue->startsWith('SERVICE_')) {$resource->environment_variables()->firstOrCreate(['key' => $key,'resourceable_type' => get_class($resource),