feat: predefined server variables (COOLIFY_SERVER_NAME, COOLIFY_SERVER_UUID)

These are not visible on shared env page but user can use these variables like they use the COOLIFY_RESOURCE_UUID
This commit is contained in:
ShadowArcanist committed 2025-12-24 13:58:50 +01:00
1 parent 81009c29cf
commit 5ed308dcf0
7 files changed
+62 -8

No files matched your search

+1 -1
View File
@@ -214,7 +214,7 @@ class Team extends Model implements SendsDiscord, SendsEmail, SendsPushover, Sen
public function environment_variables()
{
return $this->hasMany(SharedEnvironmentVariable::class)->whereNull('project_id')->whereNull('environment_id');
return $this->hasMany(SharedEnvironmentVariable::class)->where('type', 'team');
}
public function members()