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: service labels without ports (unknown ports)
Andras Bacsaie7683ee9a5de
diff --git a/bootstrap/helpers/docker.php b/bootstrap/helpers/docker.phpindex 59f45358e7..0376fcc6eb 100644--- a/bootstrap/helpers/docker.php+++ b/bootstrap/helpers/docker.php@@ -249,9 +249,9 @@ function fqdnLabelsForTraefik(string $uuid, Collection $domains, bool $is_force_// Set labels for http (redirect to https)$labels->push("traefik.http.routers.{$http_label}.rule=Host(`{$host}`) && PathPrefix(`{$path}`)");$labels->push("traefik.http.routers.{$http_label}.entryPoints=http");- $labels->push("traefik.http.routers.{$http_label}.service={$http_label}");if ($port) {$labels->push("traefik.http.services.{$http_label}.loadbalancer.server.port=$port");+ $labels->push("traefik.http.routers.{$http_label}.service={$http_label}");}if ($is_force_https_enabled) {$labels->push("traefik.http.routers.{$http_label}.middlewares=redirect-to-https");@@ -261,9 +261,9 @@ function fqdnLabelsForTraefik(string $uuid, Collection $domains, bool $is_force_$labels->push("traefik.http.routers.{$http_label}.rule=Host(`{$host}`) && PathPrefix(`{$path}`)");$labels->push("traefik.http.routers.{$http_label}.entryPoints=http");$labels->push("traefik.http.routers.{$http_label}.middlewares=gzip");- $labels->push("traefik.http.routers.{$http_label}.service={$http_label}");if ($port) {$labels->push("traefik.http.services.{$http_label}.loadbalancer.server.port=$port");+ $labels->push("traefik.http.routers.{$http_label}.service={$http_label}");}if ($path !== '/') {$labels->push("traefik.http.routers.{$http_label}.middlewares={$http_label}-stripprefix");