moved github username to config

This commit is contained in:
2025-05-20 20:10:19 -04:00
parent 8fa0efe80a
commit 278ccfeeca
3 changed files with 11 additions and 1 deletions
+1 -1
View File
@@ -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
+8
View File
@@ -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
+2
View File
@@ -1,5 +1,7 @@
# github token
PAT_1=<YOUR_GITHUB_TOKEN>
# github username
GH_UN=<YOUR_GITHUB_USERNAME>
# port to listen on
port=9000