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: dockercompose save ./ volumes under /data/coolify
Andras Bacsaic54439e84c6e
diff --git a/app/Jobs/ApplicationDeploymentJob.php b/app/Jobs/ApplicationDeploymentJob.phpindex d0f18d00c0..9820981f77 100644--- a/app/Jobs/ApplicationDeploymentJob.php+++ b/app/Jobs/ApplicationDeploymentJob.php@@ -468,7 +468,24 @@ class ApplicationDeploymentJob implements ShouldQueue, ShouldBeEncrypted"docker network connect {$networkId} coolify-proxy || true", "hidden" => true, "ignore_errors" => true]);}-+ if (isset($this->docker_compose_base64)) {+ $readme = generate_readme_file($this->application->name, $this->application_deployment_queue->updated_at);+ $composeFileName = "$this->configuration_dir/docker-compose.yml";+ if ($this->pull_request_id !== 0) {+ $composeFileName = "$this->configuration_dir/docker-compose-pr-{$this->pull_request_id}.yml";+ }+ $this->execute_remote_command(+ [+ "mkdir -p $this->configuration_dir"+ ],+ [+ "echo '{$this->docker_compose_base64}' | base64 -d > $composeFileName",+ ],+ [+ "echo '{$readme}' > $this->configuration_dir/README.md",+ ]+ );+ }$this->start_by_compose_file();$this->application->loadComposeFile(isInit: false);}@@ -1225,6 +1242,10 @@ COPY ./nginx.conf /etc/nginx/conf.d/default.conf");[executeInDocker($this->deployment_uuid, "docker compose --project-directory {$this->workdir} pull"), "hidden" => true],[executeInDocker($this->deployment_uuid, "docker compose --project-directory {$this->workdir} up --build -d"), "hidden" => true],);+ } else if ($this->application->build_pack === 'dockercompose') {+ $this->execute_remote_command(+ ["docker compose --project-directory {$this->configuration_dir} up --build -d"],+ );} else {$this->execute_remote_command([executeInDocker($this->deployment_uuid, "docker compose --project-directory {$this->workdir} up --build -d"), "hidden" => true],diff --git a/config/sentry.php b/config/sentry.phpindex 207b438671..7c5ac9de1e 100644--- a/config/sentry.php+++ b/config/sentry.php@@ -7,7 +7,7 @@ return [// The release version of your application// Example with dynamic git hash: trim(exec('git --git-dir ' . base_path('.git') . ' log --pretty="%h" -n1 HEAD'))- 'release' => '4.0.0-beta.149',+ 'release' => '4.0.0-beta.150',// When left empty or `null` the Laravel environment will be used'environment' => config('app.env'),diff --git a/config/version.php b/config/version.phpindex b0a4751e4c..82ee909b76 100644--- a/config/version.php+++ b/config/version.php@@ -1,3 +1,3 @@<?php-return '4.0.0-beta.149';+return '4.0.0-beta.150';diff --git a/versions.json b/versions.jsonindex 0210ff223e..f567efaa01 100644--- a/versions.json+++ b/versions.json@@ -4,7 +4,7 @@"version": "3.12.36"},"v4": {- "version": "4.0.0-beta.149"+ "version": "4.0.0-beta.150"}}}