File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -59,6 +59,7 @@ public function handle()
59
59
if ($ full_cleanup ) {
60
60
// Required for falsely deleted coolify db
61
61
$ this ->restore_coolify_db_backup ();
62
+ $ this ->update_traefik_labels ();
62
63
$ this ->cleanup_unused_network_from_coolify_proxy ();
63
64
$ this ->cleanup_unnecessary_dynamic_proxy_configuration ();
64
65
$ this ->cleanup_in_progress_application_deployments ();
@@ -96,6 +97,11 @@ public function handle()
96
97
$ this ->call ('cleanup:stucked-resources ' );
97
98
}
98
99
100
+ private function update_traefik_labels ()
101
+ {
102
+ Server::where ('proxy->type ' , 'TRAEFIK_V2 ' )->update (['proxy->type ' => 'TRAEFIK ' ]);
103
+ }
104
+
99
105
private function cleanup_unnecessary_dynamic_proxy_configuration ()
100
106
{
101
107
if (isCloud ()) {
You can’t perform that action at this time.
0 commit comments