fix: proxy fixes

This commit is contained in:
Andras Bacsai
2024-09-27 15:36:51 +02:00
parent 72e12aaf5c
commit dedf2cf87b
6 changed files with 25 additions and 19 deletions

View File

@@ -651,8 +651,9 @@ class GetContainersStatus
// $this->server->team?->notify(new ContainerStopped($containerName, $this->server, $url));
}
// Check if proxy is running
$this->server->proxyType();
if (! $this->server->proxySet() || $this->server->proxy->force_stop) {
return;
}
$foundProxyContainer = $this->containers->filter(function ($value, $key) {
if ($this->server->isSwarm()) {
return data_get($value, 'Spec.Name') === 'coolify-proxy_traefik';