chore: use /opt/mirror-proxy as default data directory
Build and Push to GHCR / build-and-push (push) Has been cancelled

- docker-compose.yml: mount /opt/mirror-proxy/config and /opt/mirror-proxy/cache
- README.md: update deployment docs with /opt paths
This commit is contained in:
Agent
2026-05-24 15:50:17 +08:00
parent 44c8ff6a6f
commit 4027834a1f
2 changed files with 13 additions and 9 deletions
+2 -2
View File
@@ -6,8 +6,8 @@ services:
ports:
- "8080:8080"
volumes:
- ./config:/app/config
- ./cache:/app/cache
- /opt/mirror-proxy/config:/app/config
- /opt/mirror-proxy/cache:/app/cache
environment:
- TZ=Asia/Shanghai
- CONFIG_PATH=/app/config/config.json