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: remove quotes in COOLIFY_CONTAINER_NAME
Khiet Tam Nguyenc4bf91e5b45f
diff --git a/app/Jobs/ApplicationDeploymentJob.php b/app/Jobs/ApplicationDeploymentJob.phpindex 5597eebc93..5deb668ad9 100644--- a/app/Jobs/ApplicationDeploymentJob.php+++ b/app/Jobs/ApplicationDeploymentJob.php@@ -924,7 +924,7 @@ class ApplicationDeploymentJob implements ShouldBeEncrypted, ShouldQueue$envs->push("COOLIFY_BRANCH=\"{$local_branch}\"");}if ($this->application->environment_variables_preview->where('key', 'COOLIFY_CONTAINER_NAME')->isEmpty()) {- $envs->push("COOLIFY_CONTAINER_NAME=\"{$this->container_name}\"");+ $envs->push("COOLIFY_CONTAINER_NAME={$this->container_name}");}}@@ -983,7 +983,7 @@ class ApplicationDeploymentJob implements ShouldBeEncrypted, ShouldQueue$envs->push("COOLIFY_BRANCH=\"{$local_branch}\"");}if ($this->application->environment_variables->where('key', 'COOLIFY_CONTAINER_NAME')->isEmpty()) {- $envs->push("COOLIFY_CONTAINER_NAME=\"{$this->container_name}\"");+ $envs->push("COOLIFY_CONTAINER_NAME={$this->container_name}");}}diff --git a/bootstrap/helpers/shared.php b/bootstrap/helpers/shared.phpindex 791e2eb095..24faa62870 100644--- a/bootstrap/helpers/shared.php+++ b/bootstrap/helpers/shared.php@@ -3608,7 +3608,7 @@ function newParser(Application|Service $resource, int $pull_request_id = 0, ?int// Add COOLIFY_CONTAINER_NAME to environmentif ($resource->environment_variables->where('key', 'COOLIFY_CONTAINER_NAME')->isEmpty()) {- $coolifyEnvironments->put('COOLIFY_CONTAINER_NAME', "\"{$containerName}\"");+ $coolifyEnvironments->put('COOLIFY_CONTAINER_NAME', "{$containerName}");}if ($isApplication) {