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: send unreachable/revived notifications
Andras Bacsaiaa7bc40f8508
diff --git a/app/Jobs/ContainerStatusJob.php b/app/Jobs/ContainerStatusJob.phpindex 1ed74c750e..c5c4554721 100644--- a/app/Jobs/ContainerStatusJob.php+++ b/app/Jobs/ContainerStatusJob.php@@ -53,7 +53,7 @@ class ContainerStatusJob implements ShouldQueue, ShouldBeEncryptedif ($serverUptimeCheckNumber >= $serverUptimeCheckNumberMax) {if ($this->server->unreachable_email_sent === false) {ray('Server unreachable, sending notification...');- // $this->server->team->notify(new Unreachable($this->server));+ $this->server->team->notify(new Unreachable($this->server));$this->server->update(['unreachable_email_sent' => true]);}$this->server->settings()->update([@@ -85,7 +85,7 @@ class ContainerStatusJob implements ShouldQueue, ShouldBeEncryptedif (data_get($this->server, 'unreachable_email_sent') === true) {ray('Server is reachable again, sending notification...');- // $this->server->team->notify(new Revived($this->server));+ $this->server->team->notify(new Revived($this->server));$this->server->update(['unreachable_email_sent' => false]);}if (