Skip to content

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.

fix: update healthcheck and port configurations to use port 8080

Andras Bacsaia9ec0b1c3eb1
diff --git a/app/Models/Server.php b/app/Models/Server.php
index 767327b8e4..8d11e23a93 100644
--- a/app/Models/Server.php
+++ b/app/Models/Server.php
@@ -347,7 +347,7 @@ class Server extends BaseModel
'loadBalancer' => [
'servers' => [
0 => [
- 'url' => 'http://coolify:80',
+ 'url' => 'http://coolify:8080',
],
],
],
@@ -445,7 +445,7 @@ $schema://$host {
handle /terminal/ws {
reverse_proxy coolify-realtime:6002
}
- reverse_proxy coolify:80
+ reverse_proxy coolify:8080
}";
$base64 = base64_encode($caddy_file);
instant_remote_process([
diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml
index cb8f6b3266..459b93ac60 100644
--- a/docker-compose.prod.yml
+++ b/docker-compose.prod.yml
@@ -58,7 +58,7 @@ services:
expose:
- "${APP_PORT:-8000}"
healthcheck:
- test: curl --fail http://127.0.0.1:80/api/health || exit 1
+ test: curl --fail http://127.0.0.1:8080/api/health || exit 1
interval: 5s
retries: 10
timeout: 2s
diff --git a/docker-compose.windows.yml b/docker-compose.windows.yml
index f2b03d2099..1e2601b34f 100644
--- a/docker-compose.windows.yml
+++ b/docker-compose.windows.yml
@@ -48,11 +48,11 @@ services:
- SSH_MUX_ENABLED=false
- IS_WINDOWS_DOCKER_DESKTOP=true
ports:
- - "${APP_PORT:-8000}:80"
+ - "${APP_PORT:-8000}:8080"
expose:
- "${APP_PORT:-8000}"
healthcheck:
- test: curl --fail http://localhost:80/api/health || exit 1
+ test: curl --fail http://localhost:8080/api/health || exit 1
interval: 5s
retries: 10
timeout: 2s
diff --git a/other/nightly/docker-compose.prod.yml b/other/nightly/docker-compose.prod.yml
index cb8f6b3266..459b93ac60 100644
--- a/other/nightly/docker-compose.prod.yml
+++ b/other/nightly/docker-compose.prod.yml
@@ -58,7 +58,7 @@ services:
expose:
- "${APP_PORT:-8000}"
healthcheck:
- test: curl --fail http://127.0.0.1:80/api/health || exit 1
+ test: curl --fail http://127.0.0.1:8080/api/health || exit 1
interval: 5s
retries: 10
timeout: 2s
diff --git a/other/nightly/docker-compose.windows.yml b/other/nightly/docker-compose.windows.yml
index ef2de82e98..e19ec961f6 100644
--- a/other/nightly/docker-compose.windows.yml
+++ b/other/nightly/docker-compose.windows.yml
@@ -48,11 +48,11 @@ services:
- SSH_MUX_ENABLED=false
- IS_WINDOWS_DOCKER_DESKTOP=true
ports:
- - "${APP_PORT:-8000}:80"
+ - "${APP_PORT:-8000}:8080"
expose:
- "${APP_PORT:-8000}"
healthcheck:
- test: curl --fail http://localhost:80/api/health || exit 1
+ test: curl --fail http://localhost:8080/api/health || exit 1
interval: 5s
retries: 10
timeout: 2s