Changed to cache all traffic throught proxy.

This commit is contained in:
2024-06-14 14:22:52 +03:00
parent fcf8fc1ca2
commit 787728f00e
6 changed files with 20 additions and 68 deletions

View File

@@ -8,6 +8,9 @@ services:
environment:
- CACHE_MAX_SIZE=256g
- ENABLE_MANIFEST_CACHE=true
# Enable/disable internet access, possible variants "on"/"off".
# After load all data into cache switch to "off" for offline usage.
- PROXY_CACHE_REVALIDATE=on
volumes:
# Format: <host-path>:<container-path>; adapt to your needs
- ./docker_mirror_cache:/docker_mirror_cache # This will be up to CACHE_MAX_SIZE big