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 CleanupUnreachableServers command to update server IP address
Andras Bacsaie8b539c3bdb4
diff --git a/app/Console/Commands/CleanupUnreachableServers.php b/app/Console/Commands/CleanupUnreachableServers.phpindex e3ed4b0df5..8bbd27d64e 100644--- a/app/Console/Commands/CleanupUnreachableServers.php+++ b/app/Console/Commands/CleanupUnreachableServers.php@@ -16,7 +16,7 @@ class CleanupUnreachableServers extends Command$servers = Server::where('unreachable_count', 3)->where('unreachable_notification_sent', true)->where('updated_at', '<', now()->subDays(3))->get();if ($servers->count() > 0) {foreach ($servers as $server) {- ray("Cleanup unreachable server ($server->id) with name $server->name");+ echo "Cleanup unreachable server ($server->id) with name $server->name";$server->update(['ip' => '1.2.3.4']);