From 845ff4f743b5717d01b91b05a09dccfe86a57ab7 Mon Sep 17 00:00:00 2001 From: Jeff Emmett Date: Sat, 21 Feb 2026 17:48:47 -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 3ac29f4..87301c6 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -19,6 +19,12 @@ services: - "traefik.http.routers.flight-club.rule=Host(`flightclub.lol`) || Host(`www.flightclub.lol`)" - "traefik.http.routers.flight-club.entrypoints=web" - "traefik.http.services.flight-club.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