hourly health check

This commit is contained in:
2024-05-30 14:10:22 -04:00
parent 8811f28e50
commit 45edbcdfe4
+7
View File
@@ -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