Fix application build pack logic
This commit is contained in:
parent
76f695036c
commit
95d0d72e0d
1 changed files with 4 additions and 0 deletions
|
|
@ -162,9 +162,13 @@ public function generateDomain(string $serviceName)
|
|||
}
|
||||
public function updatedApplicationBuildPack()
|
||||
{
|
||||
ray($this->application->build_pack);
|
||||
if ($this->application->build_pack !== 'nixpacks') {
|
||||
$this->application->settings->is_static = false;
|
||||
$this->application->settings->save();
|
||||
} else {
|
||||
$this->application->ports_exposes = $this->ports_exposes = 3000;
|
||||
$this->resetDefaultLabels(false);
|
||||
}
|
||||
if ($this->application->build_pack === 'dockercompose') {
|
||||
$this->application->fqdn = null;
|
||||
|
|
|
|||
Loading…
Reference in a new issue