mirror of
https://github.com/tiennm99/coolify.git
synced 2026-04-17 17:21:04 +00:00
feat(magic): add LOWERCASEUSER as magic variable (#6942)
This commit is contained in:
@@ -989,6 +989,9 @@ function generateEnvValue(string $command, Service|Application|null $service = n
|
|||||||
case 'USER':
|
case 'USER':
|
||||||
$generatedValue = Str::random(16);
|
$generatedValue = Str::random(16);
|
||||||
break;
|
break;
|
||||||
|
case 'LOWERCASEUSER':
|
||||||
|
$generatedValue = Str::lower(Str::random(16));
|
||||||
|
break;
|
||||||
case 'SUPABASEANON':
|
case 'SUPABASEANON':
|
||||||
$signingKey = $service->environment_variables()->where('key', 'SERVICE_PASSWORD_JWT')->first();
|
$signingKey = $service->environment_variables()->where('key', 'SERVICE_PASSWORD_JWT')->first();
|
||||||
if (is_null($signingKey)) {
|
if (is_null($signingKey)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user