From 45edbcdfe4dea0065d1a9b9119c6a22555802504 Mon Sep 17 00:00:00 2001 From: Andrew Stowell Date: Thu, 30 May 2024 14:10:22 -0400 Subject: [PATCH] hourly health check --- compose.yaml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/compose.yaml b/compose.yaml index b9f46dc6..6780cc10 100644 --- a/compose.yaml +++ b/compose.yaml @@ -20,4 +20,11 @@ services: - public expose: - $port + healthcheck: + test: wget --no-verbose -O - --tries=1 http://localhost:$$port/?username=digitaladapt | grep 'GitHub Stats' || exit 1 + interval: 60m # hourly + retries: 3 + start_interval: 1s + start_period: 10s + timeout: 5s