Skip to content

Commit

Permalink
fix: update healthcheck and port configurations to use port 8080
Browse files Browse the repository at this point in the history
  • Loading branch information
andrasbacsai committed Dec 23, 2024
1 parent 6dc8749 commit a9ec0b1
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions app/Models/Server.php
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ public function setupDynamicProxyConfiguration()
'loadBalancer' => [
'servers' => [
0 => [
'url' => 'http://coolify:80',
'url' => 'http://coolify:8080',
],
],
],
Expand Down Expand Up @@ -445,7 +445,7 @@ public function setupDynamicProxyConfiguration()
handle /terminal/ws {
reverse_proxy coolify-realtime:6002
}
reverse_proxy coolify:80
reverse_proxy coolify:8080
}";
$base64 = base64_encode($caddy_file);
instant_remote_process([
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions docker-compose.windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion other/nightly/docker-compose.prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions other/nightly/docker-compose.windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a9ec0b1

Please sign in to comment.