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
call handle not matter what
Andras Bacsai4f588ced96b9
diff --git a/app/Jobs/ContainerStatusJob.php b/app/Jobs/ContainerStatusJob.phpindex 1c8cf19191..9b5f9dc48d 100644--- a/app/Jobs/ContainerStatusJob.php+++ b/app/Jobs/ContainerStatusJob.php@@ -19,6 +19,7 @@ use Illuminate\Queue\InteractsWithQueue;use Illuminate\Queue\Middleware\WithoutOverlapping;use Illuminate\Queue\SerializesModels;use Illuminate\Support\Arr;+use Illuminate\Support\Facades\Log;use Illuminate\Support\Str;class ContainerStatusJob implements ShouldQueue, ShouldBeEncrypted@@ -40,9 +41,7 @@ class ContainerStatusJob implements ShouldQueue, ShouldBeEncryptedpublic function __construct(public Server $server){- if (isDev()) {- $this->handle();- }+ $this->handle();}public function handle()@@ -76,6 +75,7 @@ class ContainerStatusJob implements ShouldQueue, ShouldBeEncrypted$this->server->update(['unreachable_count' => 0,]);+ Log::info("Server {$this->server->id} is reachable.");} else {$serverUptimeCheckNumber++;$this->server->settings()->update([@@ -129,7 +129,6 @@ class ContainerStatusJob implements ShouldQueue, ShouldBeEncrypted} catch (\Throwable $e) {ray($e);}-} else {$this->server->proxy->status = data_get($foundProxyContainer, 'State.Status');$this->server->save();