From eab112fa033fe765c76ab5136ede7f09006eda7d Mon Sep 17 00:00:00 2001 From: Robert Rapp Date: Mon, 19 Jan 2026 19:41:39 +0100 Subject: [PATCH] chore: add compose healthcheck for asn-updater --- docker-compose.yml | 6 ++++++ 1 file changed, 6 insertions(+) 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"