Fix network connection issues in Server and Service models

This commit is contained in:
Andras Bacsai
2023-11-27 09:58:31 +01:00
parent 8d0c3abf2e
commit fae97e4dee
4 changed files with 99 additions and 3 deletions

View File

@@ -442,4 +442,10 @@ class Service extends BaseModel
{
return parseDockerComposeFile($this, $isNew);
}
public function networks()
{
$networks = getTopLevelNetworks($this);
// ray($networks);
return $networks;
}
}