mirror of
https://github.com/coollabsio/coolify.git
synced 2026-03-11 08:55:47 +00:00
fix(ServerCheck): enhance proxy container check to ensure it is running before proceeding
This commit is contained in:
parent
e516aeb534
commit
eaba726b9c
1 changed files with 2 additions and 1 deletions
|
|
@ -99,7 +99,8 @@ class ServerCheck
|
|||
return data_get($value, 'Name') === '/coolify-proxy';
|
||||
}
|
||||
})->first();
|
||||
if (! $foundProxyContainer) {
|
||||
$proxyStatus = data_get($foundProxyContainer, 'State.Status');
|
||||
if (! $foundProxyContainer || $proxyStatus !== 'running') {
|
||||
try {
|
||||
$shouldStart = CheckProxy::run($this->server);
|
||||
if ($shouldStart) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue