mirror of
https://github.com/WJQSERVER-STUDIO/ghproxy.git
synced 2026-02-03 00:01:10 +08:00
17 lines
520 B
YAML
17 lines
520 B
YAML
version: '3.9'
|
|
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'
|
|
- './ghproxy/config:/data/ghproxy/config'
|
|
ports:
|
|
- '7210:80'
|