mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-13 08:15:24 +00:00
feat: start Sentinel on servers.
This commit is contained in:
1 parent
2ea27acdde
commit
c618e58a11
5 files changed
+36
-2
No files matched your search
@@ -55,10 +55,10 @@ class GetContainersStatus
|
||||
$sentinel_found = json_decode($sentinel_found, true);
|
||||
$status = data_get($sentinel_found, '0.State.Status', 'exited');
|
||||
if ($status === 'running') {
|
||||
ray('Sentinel');
|
||||
ray('Checking with Sentinel');
|
||||
$this->sentinel();
|
||||
} else {
|
||||
ray('Old way');
|
||||
ray('Checking the Old way');
|
||||
$this->old_way();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user