From cae28abebf6c614b2241b0bbb5dda4d2de7d7deb Mon Sep 17 00:00:00 2001 From: Luke Murphy Date: Thu, 25 Jun 2020 11:22:36 +0200 Subject: [PATCH] Bring back the health check --- compose.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/compose.yml b/compose.yml index 449bba0..2f32043 100644 --- a/compose.yml +++ b/compose.yml @@ -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