Skip to content

Commit a4ad651

Browse files
authored
fix: change proxy port from 3000 to 8080 (#176)
* Change proxy port from 3000 to 8080 * Update healthcheck command in docker-compose.yml
1 parent cf11836 commit a4ad651

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

services/bentopdf/config/serve.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88
"${TS_CERT_DOMAIN}:443": {
99
"Handlers": {
1010
"/": {
11-
"Proxy": "http://127.0.0.1:3000"
11+
"Proxy": "http://127.0.0.1:8080"
1212
}
1313
}
1414
}
1515
}
16-
}
16+
}

services/bentopdf/docker-compose.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,9 @@ services:
4949
tailscale:
5050
condition: service_healthy
5151
healthcheck:
52-
test: ["CMD", "pgrep", "-f", "${SERVICE}"] # Check if ${SERVICE} process is running
52+
test: ["CMD-SHELL", "wget --no-verbose --tries=1 --spider http://127.0.0.1:8080/ || exit 1"]
5353
interval: 1m # How often to perform the check
5454
timeout: 10s # Time to wait for the check to succeed
5555
retries: 3 # Number of retries before marking as unhealthy
5656
start_period: 30s # Time to wait before starting health checks
57-
restart: always
57+
restart: always

0 commit comments

Comments
 (0)