add swarm server grouping

fixes for swarm
This commit is contained in:
Andras Bacsai committed 2023-12-19 13:47:12 +01:00
1 parent ef595dd4c2
commit 798acb8ee5
8 files changed
+79 -23

No files matched your search

+4 -1
View File
@@ -21,7 +21,10 @@ class CheckProxy
$status = getContainerStatus($server, 'coolify-proxy_traefik');
$server->proxy->set('status', $status);
$server->save();
return false;
if ($status === 'running') {
return false;
}
return true;
} else {
$status = getContainerStatus($server, 'coolify-proxy');
if ($status === 'running') {