diff --git a/docker-compose.yml b/docker-compose.yml index 9c89d8b..d69961f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -33,6 +33,12 @@ services: depends_on: postgres: condition: service_healthy + healthcheck: + test: ["CMD", "wget", "-q", "--spider", "http://localhost:8080/healthz"] + interval: 10s + timeout: 5s + retries: 6 + start_period: 30s volumes: acw-pg-data: