From e499116c4852c218116573e99ee85cf7e8b84c32 Mon Sep 17 00:00:00 2001 From: Jeff Emmett Date: Sat, 21 Feb 2026 17:49:24 -0700 Subject: [PATCH] Add Docker healthcheck to docker-compose.yml Co-Authored-By: Claude Opus 4.6 --- docker-compose.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docker-compose.yml b/docker-compose.yml index a9dc813..737b73d 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -14,6 +14,12 @@ services: - "traefik.http.routers.zoomcal.rule=Host(`zoomcal.jeffemmett.com`)" - "traefik.http.routers.zoomcal.entrypoints=web" - "traefik.http.services.zoomcal.loadbalancer.server.port=3000" + healthcheck: + test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://127.0.0.1:3000/"] + interval: 30s + timeout: 10s + retries: 3 + start_period: 15s networks: - traefik-public - pkmn_pkmn-internal