add pprof handler
Some checks failed
build container / build-container (push) Failing after 22s
run go test / test (push) Failing after 19s

This commit is contained in:
2025-03-03 00:26:29 +08:00
parent 629c095bbe
commit f9ff71f62a
6 changed files with 59 additions and 13 deletions

View File

@ -1,12 +1,12 @@
services:
cache-proxy:
image: 100.64.0.2:3000/guochao/cache-proxy:${VERSION:-latest}
image: ${REPOSITORY:-git.jeffthecoder.xyz}/${OWNER:-public}/cache-proxy:${VERSION:-latest}
build:
args:
GOPROXY: ${GOPROXY:-direct}
ALPINE_MIRROR: ${ALPINE_MIRROR:-https://mirrors.ustc.edu.cn}
TAGS: pprof
pull_policy: always
restart: always
volumes:
@ -15,9 +15,8 @@ services:
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
- SENTRY_DSN=${SENTRY_DSN}
- LOG_LEVEL=debug
env_file:
- path: .env
required: false