Bring back the health check
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
563bc4031c
commit
cae28abebf
12
compose.yml
12
compose.yml
@ -19,12 +19,12 @@ services:
|
|||||||
- DRONE_RUNNER_VOLUMES=/var/run/docker.sock:/var/run/docker.sock
|
- DRONE_RUNNER_VOLUMES=/var/run/docker.sock:/var/run/docker.sock
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
# healthcheck:
|
healthcheck:
|
||||||
# test: ["CMD", "wget", "-q", "-t 1", "http://localhost:3000/healthz"]
|
test: ["CMD", "wget", "-qO", "-", "http://localhost:3000/healthz"]
|
||||||
# interval: 10s
|
interval: 10s
|
||||||
# timeout: 10s
|
timeout: 10s
|
||||||
# retries: 10
|
retries: 10
|
||||||
# start_period: 10s
|
start_period: 10s
|
||||||
deploy:
|
deploy:
|
||||||
update_config:
|
update_config:
|
||||||
failure_action: rollback
|
failure_action: rollback
|
||||||
|
Reference in New Issue
Block a user