cache-proxy/compose.yaml
guochao 629c095bbe
All checks were successful
build container / build-container (push) Successful in 6m19s
update golang sdk to 1.24
2025-02-25 09:56:30 +08:00

24 lines
738 B
YAML

services:
cache-proxy:
image: 100.64.0.2:3000/guochao/cache-proxy:${VERSION:-latest}
build:
args:
GOPROXY: ${GOPROXY:-direct}
ALPINE_MIRROR: ${ALPINE_MIRROR:-https://mirrors.ustc.edu.cn}
pull_policy: always
restart: always
volumes:
- ./config.yaml:/config.yaml:ro
- ./data:/data
ports:
- 8881:8881
environment:
- HTTPS_PROXY=http://100.64.0.23:7890
- HTTP_PROXY=http://100.64.0.23:7890
- ALL_PROXY=http://100.64.0.23:7890
- NO_PROXY=localhost,local,cn,*.local,*.cn,127.0.0.1,127.0.0.0/8,10.0.0.0/8,172.16.0.0/12,192.168.0.0/16,100.64.0.0/16
- SENTRY_DSN=http://3b7336602c77427d96318074cd86ee04@100.64.0.2:8000/2
- LOG_LEVEL=debug