mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-03 04:46:18 +00:00
fix(ServerCheck): enhance proxy container check to ensure it is running before proceeding
This commit is contained in:
1 parent
e516aeb534
commit
eaba726b9c
1 file changed
+2
-1
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user