add pprof handler
This commit is contained in:
13
compose.yaml
13
compose.yaml
@ -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
|
Reference in New Issue
Block a user