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

-1
View File
@@ -61,7 +61,6 @@ function remote_process(
// }
function savePrivateKeyToFs(Server $server)
{
ray(data_get($server, 'privateKey.private_key'));
if (data_get($server, 'privateKey.private_key') === null) {
throw new \Exception("Server {$server->name} does not have a private key");
}
+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(':-');