temporary fix
This commit is contained in:
parent
0a2d0da36f
commit
746da1a76e
@ -22,8 +22,13 @@ public function handle()
|
||||
{
|
||||
try {
|
||||
$container_name = 'coolify-proxy';
|
||||
$servers = Server::all()->whereRelation('settings', 'is_reachable', true)->whereRelation('settings', 'is_usable', true)->whereNotNull('proxy')->get();
|
||||
$servers = Server::all();
|
||||
foreach ($servers as $server) {
|
||||
if (
|
||||
$server->settings->is_reachable === false || $server->settings->is_usable === false
|
||||
) {
|
||||
continue;
|
||||
}
|
||||
$status = getContainerStatus(server: $server, container_id: $container_name);
|
||||
if ($status === 'running') {
|
||||
continue;
|
||||
|
Loading…
Reference in New Issue
Block a user