Bring back the health check
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Luke Murphy 2020-06-25 11:22:36 +02:00
parent 563bc4031c
commit cae28abebf
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with 6 additions and 6 deletions

View File

@ -19,12 +19,12 @@ services:
- DRONE_RUNNER_VOLUMES=/var/run/docker.sock:/var/run/docker.sock
networks:
- proxy
# healthcheck:
# test: ["CMD", "wget", "-q", "-t 1", "http://localhost:3000/healthz"]
# interval: 10s
# timeout: 10s
# retries: 10
# start_period: 10s
healthcheck:
test: ["CMD", "wget", "-qO", "-", "http://localhost:3000/healthz"]
interval: 10s
timeout: 10s
retries: 10
start_period: 10s
deploy:
update_config:
failure_action: rollback