diff --git a/.dockerignore b/.dockerignore index 1c0c469..c033e26 100644 --- a/.dockerignore +++ b/.dockerignore @@ -1,4 +1,7 @@ .vscode data -__debug* \ No newline at end of file +__debug* + +config.yaml +compose.yaml \ No newline at end of file diff --git a/compose.yaml b/compose.yaml new file mode 100644 index 0000000..304a189 --- /dev/null +++ b/compose.yaml @@ -0,0 +1,19 @@ +services: + cache-proxy: + image: 100.64.0.2/guochao/cache-proxy:20241218 + build: . + + pull_policy: always + restart: always + + volumes: + - ./config.yaml:/etc/config.yaml:ro + - ./data:/data + ports: + - 8881:8881 + environment: + - HTTPS_PROXY=http://100.64.0.23:7897 + - HTTP_PROXY=http://100.64.0.23:7897 + - ALL_PROXY=http://100.64.0.23:7897 + - SENTRY_DSN=https://f67f22a7d459544ea705e3d7872d680b@o353589.ingest.us.sentry.io/4508486851166208 + - LOG_LEVEL=trace \ No newline at end of file