fix: raw compose make dirs

fix: raw compose add coolify labels
This commit is contained in:
Andras Bacsai
2024-03-04 10:13:40 +01:00
parent 62278126e4
commit 0dd591a5ff
5 changed files with 97 additions and 11 deletions

View File

@@ -263,7 +263,11 @@ class General extends Component
}
if ($this->application->build_pack === 'dockercompose') {
$this->application->docker_compose_domains = json_encode($this->parsedServiceDomains);
$this->parsedServices = $this->application->parseCompose();
if ($this->application->settings->is_raw_compose_deployment_enabled) {
$this->application->parseRawCompose();
} else {
$this->parsedServices = $this->application->parseCompose();
}
}
$this->application->custom_labels = base64_encode($this->customLabels);
$this->application->save();