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: log unhealthy container status during health check
Andras Bacsaia767ca30e695
diff --git a/app/Jobs/ApplicationDeploymentJob.php b/app/Jobs/ApplicationDeploymentJob.phpindex 87a5077943..bcd7a729d4 100644--- a/app/Jobs/ApplicationDeploymentJob.php+++ b/app/Jobs/ApplicationDeploymentJob.php@@ -1813,9 +1813,9 @@ class ApplicationDeploymentJob implements ShouldBeEncrypted, ShouldQueue$this->application->update(['status' => 'running']);$this->application_deployment_queue->addLogEntry('New container is healthy.');break;- }- if (str($this->saved_outputs->get('health_check'))->replace('"', '')->value() === 'unhealthy') {+ } elseif (str($this->saved_outputs->get('health_check'))->replace('"', '')->value() === 'unhealthy') {$this->newVersionIsHealthy = false;+ $this->application_deployment_queue->addLogEntry('New container is unhealthy.', type: 'error');$this->query_logs();break;}