From aa0a00bac201ead0d8e185ea74ed870a0475a1f8 Mon Sep 17 00:00:00 2001 From: guochao Date: Wed, 18 Dec 2024 14:18:47 +0800 Subject: [PATCH] update docker files --- .dockerignore | 5 ++++- compose.yaml | 19 +++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 compose.yaml 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