fix proxy check jo
This commit is contained in:
parent
0076455e6e
commit
0a2d0da36f
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ public function handle()
|
|||
{
|
||||
try {
|
||||
$container_name = 'coolify-proxy';
|
||||
$servers = Server::isUsable()->whereNotNull('proxy')->get();
|
||||
$servers = Server::all()->whereRelation('settings', 'is_reachable', true)->whereRelation('settings', 'is_usable', true)->whereNotNull('proxy')->get();
|
||||
foreach ($servers as $server) {
|
||||
$status = getContainerStatus(server: $server, container_id: $container_name);
|
||||
if ($status === 'running') {
|
||||
|
|
|
|||
Loading…
Reference in a new issue