An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.
PHP coolifydatabasesdeploymentdockerdocker-composeinertiajslaravelmariadbmysqlnextjsnodejsphppostgresredisself-hostedself-hostingserverstatic-sitesveltesvelte5
fix: reset domains on compose file change
Andras Bacsai67131152cc68
diff --git a/app/Models/Application.php b/app/Models/Application.phpindex d3ddc4e430..ae78c6b402 100644--- a/app/Models/Application.php+++ b/app/Models/Application.php@@ -966,6 +966,7 @@ class Application extends BaseModelfunction loadComposeFile($isInit = false){$initialDockerComposeLocation = $this->docker_compose_location;+ $initialDockerComposeRaw = $this->docker_compose_raw;// $initialDockerComposePrLocation = $this->docker_compose_pr_location;if ($this->build_pack === 'dockercompose') {if ($isInit && $this->docker_compose_raw) {@@ -1020,8 +1021,13 @@ class Application extends BaseModel"rm -rf /tmp/{$uuid}",]);instant_remote_process($commands, $this->destination->server, false);+ $parsedServices = $this->parseCompose();+ if (md5($this->docker_compose_raw) !== md5($initialDockerComposeRaw)) {+ $this->docker_compose_domains = null;+ $this->save();+ }return [- 'parsedServices' => $this->parseCompose(),+ 'parsedServices' => $parsedServices,'initialDockerComposeLocation' => $this->docker_compose_location,'initialDockerComposePrLocation' => $this->docker_compose_pr_location,];