mirror of
https://github.com/tiennm99/coolify.git
synced 2026-10-12 18:15:58 +00:00
Fix environment variable generation in ApplicationDeploymentJob.php and Application.php
This commit is contained in:
1 parent
c8b494e909
commit
eb748554c5
2 files changed
+14
-8
No files matched your search
@@ -346,6 +346,10 @@ class Application extends BaseModel
|
||||
}
|
||||
return null;
|
||||
}
|
||||
public function main_port()
|
||||
{
|
||||
return $this->settings->is_static ? [80] : $this->ports_exposes_array;
|
||||
}
|
||||
public function environment_variables(): HasMany
|
||||
{
|
||||
return $this->hasMany(EnvironmentVariable::class)->where('is_preview', false)->orderBy('key', 'asc');
|
||||
|
||||
Reference in new issue
Block a user