Add Supabase logo and update environment variable in compose file

This commit is contained in:
Andras Bacsai
2024-02-29 09:15:06 +01:00
parent a43c916009
commit dfd564a3a4
4 changed files with 26 additions and 3 deletions

View File

@@ -931,6 +931,13 @@ function parseDockerComposeFile(Service|Application $resource, bool $isNew = fal
$savedService->fqdn = $fqdn;
$savedService->save();
}
EnvironmentVariable::create([
'key' => $key,
'value' => $fqdn,
'is_build_time' => false,
'service_id' => $resource->id,
'is_preview' => false,
]);
}
// data_forget($service, "environment.$variableName");
// $yaml = data_forget($yaml, "services.$serviceName.environment.$variableName");