fix: update healthcheck and port configurations to use port 8080
This commit is contained in:
parent
6dc87498de
commit
a9ec0b1c3e
5 changed files with 8 additions and 8 deletions
|
|
@ -347,7 +347,7 @@ public function setupDynamicProxyConfiguration()
|
||||||
'loadBalancer' => [
|
'loadBalancer' => [
|
||||||
'servers' => [
|
'servers' => [
|
||||||
0 => [
|
0 => [
|
||||||
'url' => 'http://coolify:80',
|
'url' => 'http://coolify:8080',
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
|
@ -445,7 +445,7 @@ public function setupDynamicProxyConfiguration()
|
||||||
handle /terminal/ws {
|
handle /terminal/ws {
|
||||||
reverse_proxy coolify-realtime:6002
|
reverse_proxy coolify-realtime:6002
|
||||||
}
|
}
|
||||||
reverse_proxy coolify:80
|
reverse_proxy coolify:8080
|
||||||
}";
|
}";
|
||||||
$base64 = base64_encode($caddy_file);
|
$base64 = base64_encode($caddy_file);
|
||||||
instant_remote_process([
|
instant_remote_process([
|
||||||
|
|
|
||||||
|
|
@ -58,7 +58,7 @@ services:
|
||||||
expose:
|
expose:
|
||||||
- "${APP_PORT:-8000}"
|
- "${APP_PORT:-8000}"
|
||||||
healthcheck:
|
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
|
interval: 5s
|
||||||
retries: 10
|
retries: 10
|
||||||
timeout: 2s
|
timeout: 2s
|
||||||
|
|
|
||||||
|
|
@ -48,11 +48,11 @@ services:
|
||||||
- SSH_MUX_ENABLED=false
|
- SSH_MUX_ENABLED=false
|
||||||
- IS_WINDOWS_DOCKER_DESKTOP=true
|
- IS_WINDOWS_DOCKER_DESKTOP=true
|
||||||
ports:
|
ports:
|
||||||
- "${APP_PORT:-8000}:80"
|
- "${APP_PORT:-8000}:8080"
|
||||||
expose:
|
expose:
|
||||||
- "${APP_PORT:-8000}"
|
- "${APP_PORT:-8000}"
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: curl --fail http://localhost:80/api/health || exit 1
|
test: curl --fail http://localhost:8080/api/health || exit 1
|
||||||
interval: 5s
|
interval: 5s
|
||||||
retries: 10
|
retries: 10
|
||||||
timeout: 2s
|
timeout: 2s
|
||||||
|
|
|
||||||
|
|
@ -58,7 +58,7 @@ services:
|
||||||
expose:
|
expose:
|
||||||
- "${APP_PORT:-8000}"
|
- "${APP_PORT:-8000}"
|
||||||
healthcheck:
|
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
|
interval: 5s
|
||||||
retries: 10
|
retries: 10
|
||||||
timeout: 2s
|
timeout: 2s
|
||||||
|
|
|
||||||
|
|
@ -48,11 +48,11 @@ services:
|
||||||
- SSH_MUX_ENABLED=false
|
- SSH_MUX_ENABLED=false
|
||||||
- IS_WINDOWS_DOCKER_DESKTOP=true
|
- IS_WINDOWS_DOCKER_DESKTOP=true
|
||||||
ports:
|
ports:
|
||||||
- "${APP_PORT:-8000}:80"
|
- "${APP_PORT:-8000}:8080"
|
||||||
expose:
|
expose:
|
||||||
- "${APP_PORT:-8000}"
|
- "${APP_PORT:-8000}"
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: curl --fail http://localhost:80/api/health || exit 1
|
test: curl --fail http://localhost:8080/api/health || exit 1
|
||||||
interval: 5s
|
interval: 5s
|
||||||
retries: 10
|
retries: 10
|
||||||
timeout: 2s
|
timeout: 2s
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue