Fix application build pack logic
This commit is contained in:
parent
76f695036c
commit
95d0d72e0d
@ -162,9 +162,13 @@ class General extends Component
|
||||
}
|
||||
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…
x
Reference in New Issue
Block a user