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
Merge pull request #2415 from tuarrep/patch-2
Andras Bacsaid05151466c2e
diff --cc app/Models/Application.phpindex af2d463c4a,9e235233e5..6e55f6626c--- a/app/Models/Application.php+++ b/app/Models/Application.php@@@ -519,10 -469,9 +519,10 @@@ class Application extends BaseMode{return $this->morphTo();}+public function isDeploymentInprogress(){- $deployments = ApplicationDeploymentQueue::where('application_id', $this->id)->where('status', ApplicationDeploymentStatus::IN_PROGRESS)->where('status', ApplicationDeploymentStatus::QUEUED)->count();+ $deployments = ApplicationDeploymentQueue::where('application_id', $this->id)->whereIn('status', [ApplicationDeploymentStatus::IN_PROGRESS, ApplicationDeploymentStatus::QUEUED])->count();if ($deployments > 0) {return true;}