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
refactor(proxy): update StartProxy calls to use named parameter for async option
Andras Bacsaif9a0ca2ca6b7
diff --git a/app/Actions/Server/ServerCheck.php b/app/Actions/Server/ServerCheck.phpindex 41781d7fc2..6ac87f1f02 100644--- a/app/Actions/Server/ServerCheck.php+++ b/app/Actions/Server/ServerCheck.php@@ -104,7 +104,7 @@ class ServerChecktry {$shouldStart = CheckProxy::run($this->server);if ($shouldStart) {- StartProxy::run($this->server, false);+ StartProxy::run($this->server, async: false);$this->server->team?->notify(new ContainerRestarted('coolify-proxy', $this->server));}} catch (\Throwable $e) {diff --git a/app/Jobs/PushServerUpdateJob.php b/app/Jobs/PushServerUpdateJob.phpindex 9936c76a2f..65c72c8c9f 100644--- a/app/Jobs/PushServerUpdateJob.php+++ b/app/Jobs/PushServerUpdateJob.php@@ -306,7 +306,7 @@ class PushServerUpdateJob implements ShouldBeEncrypted, ShouldQueueif ($this->foundProxy === false) {try {if (CheckProxy::run($this->server)) {- StartProxy::run($this->server, false);+ StartProxy::run($this->server, async: false);$this->server->team?->notify(new ContainerRestarted('coolify-proxy', $this->server));}} catch (\Throwable $e) {diff --git a/app/Jobs/ServerCheckJob.php b/app/Jobs/ServerCheckJob.phpindex 4095774517..dcbac9ac36 100644--- a/app/Jobs/ServerCheckJob.php+++ b/app/Jobs/ServerCheckJob.php@@ -68,7 +68,7 @@ class ServerCheckJob implements ShouldBeEncrypted, ShouldQueuetry {$shouldStart = CheckProxy::run($this->server);if ($shouldStart) {- StartProxy::run($this->server, false);+ StartProxy::run($this->server, async: false);$this->server->team?->notify(new ContainerRestarted('coolify-proxy', $this->server));}} catch (\Throwable $e) {