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
update cleanup
Andras Bacsaica0535c285b5
diff --git a/app/Console/Commands/Init.php b/app/Console/Commands/Init.phpindex 67f8ab6e18..1468b53cfa 100644--- a/app/Console/Commands/Init.php+++ b/app/Console/Commands/Init.php@@ -7,6 +7,7 @@ use App\Models\Application;use App\Models\ApplicationDeploymentQueue;use App\Models\Service;use App\Models\ServiceApplication;+use App\Models\ServiceDatabase;use App\Models\StandaloneMariadb;use App\Models\StandaloneMongodb;use App\Models\StandaloneMysql;@@ -40,7 +41,7 @@ class Init extends CommandStorage::delete($file);}} catch (\Throwable $e) {- echo "Error: {$e->getMessage()}\n";+ echo "Error in cleaning ssh: {$e->getMessage()}\n";}}private function cleanup_in_progress_application_deployments()@@ -208,5 +209,16 @@ class Init extends Command} catch (\Throwable $e) {echo "Error in serviceApplications: {$e->getMessage()}\n";}+ try {+ $serviceDatabases = ServiceDatabase::all();+ foreach ($serviceDatabases as $service) {+ if (!data_get($service, 'service')) {+ ray('ServiceDatabase without service', $service->name);+ $service->delete();+ }+ }+ } catch (\Throwable $e) {+ echo "Error in ServiceDatabases: {$e->getMessage()}\n";+ }}}