mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-03 07:12:33 +00:00
fix: env variables
fix: revert custom network for a bit
This commit is contained in:
1 parent
1ccb239797
commit
534372c29c
2 files changed
+5
-3
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user