This commit is contained in:
Andras Bacsai committed 2023-12-08 00:16:22 +01:00
1 parent a6e76dfabc
commit 82f3d54bc3
9 files changed
+64 -49

No files matched your search

+4
View File
@@ -967,6 +967,10 @@ function parseDockerComposeFile(Service|Application $resource, bool $isNew = fal
}
}
} else {
$foundEnv = EnvironmentVariable::where([
'key' => $key,
'service_id' => $resource->id,
])->first();
if ($value->contains(':-')) {
$key = $value->before(':');
$defaultValue = $value->after(':-');