diff --git a/compose.yml b/compose.yml index fa5a352..2678ebc 100644 --- a/compose.yml +++ b/compose.yml @@ -19,6 +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 deploy: update_config: failure_action: rollback