chore: update healthcheck for zipline service in compose.yaml
This commit is contained in:
parent
912e73b994
commit
d3feeb0555
@ -43,12 +43,16 @@ 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', 'wget', '-q', '--spider', 'http://localhost:3000/api/healthcheck']
|
test: ["CMD", "nc", "-z", "localhost", "3000"]
|
||||||
interval: 15s
|
interval: 10s
|
||||||
timeout: 2s
|
timeout: 5s
|
||||||
retries: 2
|
retries: 3
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
proxy-net:
|
proxy-net:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user