forked from mirrored/github-readme-stats
hourly health check
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user