chore: update healthcheck command for zipline service in compose.yaml
This commit is contained in:
parent
d3feeb0555
commit
8f0d3d6b36
@ -43,13 +43,8 @@ services:
|
|||||||
- "traefik.http.routers.zipline.tls=true"
|
- "traefik.http.routers.zipline.tls=true"
|
||||||
- "traefik.http.routers.zipline.tls.certresolver=cloudflare"
|
- "traefik.http.routers.zipline.tls.certresolver=cloudflare"
|
||||||
- "traefik.http.services.zipline.loadbalancer.server.port=3000"
|
- "traefik.http.services.zipline.loadbalancer.server.port=3000"
|
||||||
# healthcheck:
|
|
||||||
# test: ['CMD', 'wget', '-q', '--spider', 'http://localhost:3000/api/healthcheck']
|
|
||||||
# interval: 15s
|
|
||||||
# timeout: 2s
|
|
||||||
# retries: 2
|
|
||||||
healthcheck:
|
healthcheck:
|
||||||
test: ["CMD", "nc", "-z", "localhost", "3000"]
|
test: ["CMD-SHELL", "curl -f http://localhost:3000/api/healthcheck || exit 1"]
|
||||||
interval: 10s
|
interval: 10s
|
||||||
timeout: 5s
|
timeout: 5s
|
||||||
retries: 3
|
retries: 3
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user