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 customLabels assignment when proxyType is TRAEFIK_V2
Andras Bacsaicb80341a7830
diff --git a/app/Livewire/Project/Application/General.php b/app/Livewire/Project/Application/General.phpindex 798794e49d..f54a46e098 100644--- a/app/Livewire/Project/Application/General.php+++ b/app/Livewire/Project/Application/General.php@@ -116,7 +116,7 @@ class General extends Component}$this->isConfigurationChanged = $this->application->isConfigurationChanged();$this->customLabels = $this->application->parseContainerLabels();- if (!$this->customLabels) {+ if (!$this->customLabels && $this->application->destination->server->proxyType() === 'TRAEFIK_V2') {$this->customLabels = str(implode(",", generateLabelsApplication($this->application)))->replace(',', "\n");$this->application->custom_labels = base64_encode($this->customLabels);$this->application->save();@@ -206,7 +206,7 @@ class General extends Componentpublic function submit($showToaster = true){try {- if (!$this->customLabels) {+ if (!$this->customLabels && $this->application->destination->server->proxyType() === 'TRAEFIK_V2') {$this->customLabels = str(implode(",", generateLabelsApplication($this->application)))->replace(',', "\n");$this->application->custom_labels = base64_encode($this->customLabels);$this->application->save();