mirror of
https://github.com/coollabsio/coolify.git
synced 2026-03-11 08:55:47 +00:00
fix(ServerCheck): set default proxy status to 'exited' to handle missing container state
This commit is contained in:
parent
fe24296de7
commit
4c5dd3db3c
1 changed files with 1 additions and 1 deletions
|
|
@ -99,7 +99,7 @@ class ServerCheck
|
|||
return data_get($value, 'Name') === '/coolify-proxy';
|
||||
}
|
||||
})->first();
|
||||
$proxyStatus = data_get($foundProxyContainer, 'State.Status');
|
||||
$proxyStatus = data_get($foundProxyContainer, 'State.Status', 'exited');
|
||||
if (! $foundProxyContainer || $proxyStatus !== 'running') {
|
||||
try {
|
||||
$shouldStart = CheckProxy::run($this->server);
|
||||
|
|
|
|||
Loading…
Reference in a new issue