cache-proxy/compose.yaml
guochao f9ff71f62a
Some checks failed
build container / build-container (push) Failing after 22s
run go test / test (push) Failing after 19s
add pprof handler
2025-03-03 00:26:29 +08:00

22 lines
521 B
YAML

services:
cache-proxy:
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
restart: always
volumes:
- ./config.yaml:/config.yaml:ro
- ./data:/data
ports:
- 8881:8881
environment:
- SENTRY_DSN=${SENTRY_DSN}
- LOG_LEVEL=debug
env_file:
- path: .env
required: false