This commit is contained in:
zhiqiang feng
2025-12-29 13:38:39 +08:00
commit 1a4aa9a660
579 changed files with 388880 additions and 0 deletions
+37
View File
@@ -0,0 +1,37 @@
version: '3'
services:
squid:
image: sameersbn/squid
volumes:
- ./squid.conf:/etc/squid/squid.conf:ro
- squid_cache:/var/spool/squid
ports:
- "3128"
networks:
- proxy
nghttpx:
image: nghttpx/nghttpx
command: nghttpx -f /etc/nghttpx/nghttpx.conf
volumes:
- ./nghttpx.conf:/etc/nghttpx/nghttpx.conf:ro
environment:
- http_proxy=http://squid:3128
- https_proxy=http://squid:3128
- no_proxy=localhost,127.0.0.1,172.20.*
ports:
- "80"
networks:
- proxy
volumes:
squid_cache:
networks:
proxy:
external: true
name: npm