chore: update docker compose tempalte

Signed-off-by: -LAN- <laipz8200@outlook.com>
This commit is contained in:
-LAN- 2025-08-24 04:09:15 +08:00
parent 1a49febc02
commit 99ee64c864
No known key found for this signature in database
GPG Key ID: 6BA0D108DED011FF
1 changed files with 3 additions and 0 deletions

View File

@ -231,6 +231,9 @@ services:
volumes:
- ./ssrf_proxy/squid.conf.template:/etc/squid/squid.conf.template
- ./ssrf_proxy/docker-entrypoint.sh:/docker-entrypoint-mount.sh
# Optional: Mount custom config directory for additional rules
# Uncomment the line below and create conf.d directory with custom .conf files
# - ./ssrf_proxy/conf.d:/etc/squid/conf.d:ro
entrypoint: [ 'sh', '-c', "cp /docker-entrypoint-mount.sh /docker-entrypoint.sh && sed -i 's/\r$$//' /docker-entrypoint.sh && chmod +x /docker-entrypoint.sh && /docker-entrypoint.sh" ]
environment:
# pls clearly modify the squid env vars to fit your network environment.