mirror of
https://github.com/coollabsio/coolify.git
synced 2026-03-11 08:55:47 +00:00
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 @@ class ProxyCheckJob implements ShouldQueue
|
|||
{
|
||||
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