mirror of
http://172.20.10.11:3000/gitadmin/INSIGHT-MVP.git
synced 2026-06-25 00:16:41 +02:00
fix: use wget instead of curl for healthchecks in Alpine containers
Alpine images don't include curl. wget is available by default. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
2059fa69d9
commit
5f567445be
1 changed files with 2 additions and 2 deletions
|
|
@ -269,7 +269,7 @@ services:
|
||||||
- "traefik.http.middlewares.api-ratelimit.ratelimit.burst=50"
|
- "traefik.http.middlewares.api-ratelimit.ratelimit.burst=50"
|
||||||
- "traefik.http.routers.core-api.middlewares=api-ratelimit"
|
- "traefik.http.routers.core-api.middlewares=api-ratelimit"
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "curl -f http://localhost:3000/health || exit 1"]
|
test: ["CMD-SHELL", "wget -qO- http://localhost:3000/health || exit 1"]
|
||||||
interval: 15s
|
interval: 15s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 3
|
retries: 3
|
||||||
|
|
@ -296,7 +296,7 @@ services:
|
||||||
- "traefik.http.routers.frontend.priority=1"
|
- "traefik.http.routers.frontend.priority=1"
|
||||||
- "traefik.http.services.frontend.loadbalancer.server.port=8080"
|
- "traefik.http.services.frontend.loadbalancer.server.port=8080"
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD-SHELL", "curl -f http://localhost:8080/ || exit 1"]
|
test: ["CMD-SHELL", "wget -qO- http://localhost:8080/ || exit 1"]
|
||||||
interval: 30s
|
interval: 30s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 3
|
retries: 3
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue