forked from mirrored/github-readme-stats
moved github username to config
This commit is contained in:
+1
-1
@@ -11,7 +11,7 @@ services:
|
||||
expose:
|
||||
- ${port}
|
||||
healthcheck:
|
||||
test: wget --no-verbose -O - --tries=1 http://localhost:$$port/?username=digitaladapt | grep 'GitHub Stats' || exit 1
|
||||
test: wget --no-verbose -O - --tries=1 http://localhost:$$port/?username=$$GH_UN | grep 'GitHub Stats' || exit 1
|
||||
interval: 60m # hourly
|
||||
retries: 3
|
||||
start_interval: 1s
|
||||
|
||||
@@ -7,6 +7,14 @@ services:
|
||||
- .env
|
||||
expose:
|
||||
- $port
|
||||
healthcheck:
|
||||
test: wget --no-verbose -O - --tries=1 http://localhost:$$port/?username=$$GH_UN | grep 'GitHub Stats' || exit 1
|
||||
interval: 60m # hourly
|
||||
retries: 3
|
||||
start_interval: 1s
|
||||
start_period: 10s
|
||||
timeout: 5s
|
||||
init: true
|
||||
|
||||
caddy:
|
||||
image: caddy
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
# github token
|
||||
PAT_1=<YOUR_GITHUB_TOKEN>
|
||||
# github username
|
||||
GH_UN=<YOUR_GITHUB_USERNAME>
|
||||
# port to listen on
|
||||
port=9000
|
||||
|
||||
|
||||
Reference in New Issue
Block a user