Fix network connection issues in Server and Service models
This commit is contained in:
@@ -442,4 +442,10 @@ class Service extends BaseModel
|
||||
{
|
||||
return parseDockerComposeFile($this, $isNew);
|
||||
}
|
||||
public function networks()
|
||||
{
|
||||
$networks = getTopLevelNetworks($this);
|
||||
// ray($networks);
|
||||
return $networks;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user