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
wip
Andras Bacsaib3cdd7df3c66
diff --git a/app/Jobs/ApplicationDeploymentJob.php b/app/Jobs/ApplicationDeploymentJob.phpindex d962fa6a62..cb22601b69 100644--- a/app/Jobs/ApplicationDeploymentJob.php+++ b/app/Jobs/ApplicationDeploymentJob.php@@ -177,9 +177,9 @@ class ApplicationDeploymentJob implements ShouldQueue"echo -n 'Building image... '",]);- if ($this->application->settings->is_static && isset($this->application->build_command)) {+ if ($this->application->settings->is_static) {$this->execute_now([- $this->execute_in_builder("docker build -f {$this->workdir}/Dockerfile {$this->build_args} --progress plain -t { $this->build_image_name {$this->workdir}"),+ $this->execute_in_builder("docker build -f {$this->workdir}/Dockerfile {$this->build_args} --progress plain -t $this->build_image_name {$this->workdir}"),], isDebuggable: true);$dockerfile = "FROM {$this->application->static_image}diff --git a/bootstrap/helpers/proxy.php b/bootstrap/helpers/proxy.phpindex 7290ac834a..788d854552 100644--- a/bootstrap/helpers/proxy.php+++ b/bootstrap/helpers/proxy.php@@ -39,11 +39,19 @@ if (!function_exists('getProxyConfiguration')) {"443:443","8080:8080",],+ "healthcheck" => [+ "test" => "wget -qO- http://localhost:80/ping || exit 1",+ "interval" => "4s",+ "timeout" => "2s",+ "retries" => 5,+ ],"volumes" => ["/var/run/docker.sock:/var/run/docker.sock:ro","{$proxy_path}:/traefik",],"command" => [+ "--ping=true",+ "--ping.entrypoint=http","--api.dashboard=true","--api.insecure=true","--entrypoints.http.address=:80",