mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-12 12:13:41 +00:00
fix: server status job
This commit is contained in:
1 parent
b6ce2e9122
commit
a635e51486
5 files changed
+11
-4
No files matched your search
@@ -141,6 +141,10 @@ class Server extends BaseModel
|
||||
{
|
||||
return $this->ip === 'host.docker.internal' || $this->id === 0;
|
||||
}
|
||||
static public function buildServers($teamId)
|
||||
{
|
||||
return Server::whereTeamId($teamId)->whereRelation('settings', 'is_reachable', true)->whereRelation('settings', 'is_build_server', true);
|
||||
}
|
||||
public function skipServer()
|
||||
{
|
||||
if ($this->ip === '1.2.3.4') {
|
||||
|
||||
Reference in new issue
Block a user