fix: env variables

fix: revert custom network for a bit
This commit is contained in:
Andras Bacsai
2023-11-06 14:12:22 +01:00
parent 1ccb239797
commit 534372c29c
2 changed files with 5 additions and 3 deletions

View File

@@ -118,7 +118,7 @@ class Service extends BaseModel
public function parse(bool $isNew = false): Collection
{
ray()->clearAll();
// ray()->clearAll();
if ($this->docker_compose_raw) {
try {
$yaml = Yaml::parse($this->docker_compose_raw);
@@ -260,7 +260,7 @@ class Service extends BaseModel
$networks = $serviceNetworks->toArray();
foreach ($definedNetwork as $key => $network) {
$networks = array_merge($networks, [
$network => null
$network
]);
}
data_set($service, 'networks', $networks);