This commit is contained in:
WJQSERVER 2024-11-07 13:52:49 +08:00
parent 06191e52e5
commit 8787c11e06
8 changed files with 59 additions and 16 deletions

View file

@ -3,6 +3,12 @@ services:
ghproxy:
image: 'wjqserver/ghproxy:latest'
restart: always
healthcheck:
test: ["CMD", "curl", "-f", "http://127.0.0.1:80/api/healthcheck"]
interval: 60s
timeout: 10s
retries: 3
start_period: 30s
volumes:
- './ghproxy/log/run:/data/ghproxy/log'
- './ghproxy/log/caddy:/data/caddy/log'