diff --git a/docker-compose.yml b/docker-compose.yml index ecf3b84..268f77c 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -24,6 +24,12 @@ services: container_name: asn-updater restart: unless-stopped env_file: .env + healthcheck: + test: ["CMD", "wget", "-qO-", "http://localhost:8080/healthz"] + interval: 3000s + timeout: 5s + retries: 5 + start_period: 20s environment: OUT_DIR: /data PDB_INFO_TYPE: "Research and Education"