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: update Traefik labels on init
Andras Bacsai13e8d3c17c64
diff --git a/app/Console/Commands/Init.php b/app/Console/Commands/Init.phpindex 241fa777b8..3d109301f3 100644--- a/app/Console/Commands/Init.php+++ b/app/Console/Commands/Init.php@@ -59,6 +59,7 @@ class Init extends Commandif ($full_cleanup) {// Required for falsely deleted coolify db$this->restore_coolify_db_backup();+ $this->update_traefik_labels();$this->cleanup_unused_network_from_coolify_proxy();$this->cleanup_unnecessary_dynamic_proxy_configuration();$this->cleanup_in_progress_application_deployments();@@ -96,6 +97,11 @@ class Init extends Command$this->call('cleanup:stucked-resources');}+ private function update_traefik_labels()+ {+ Server::where('proxy->type', 'TRAEFIK_V2')->update(['proxy->type' => 'TRAEFIK']);+ }+private function cleanup_unnecessary_dynamic_proxy_configuration(){if (isCloud()) {