squid: deployed squid

This commit is contained in:
2025-10-16 22:31:53 +02:00
parent 9d7cfd8cb8
commit 137f0fd863
4 changed files with 75 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
services:
squid:
image: ubuntu/squid:6.13-25.04_edge
ports:
- target: 3128
published: 3128
mode: host
environment:
- TZ=Europe/Paris
volumes:
- log:/var/log/squid
- cache:/var/spool/squid
- type: bind
source: /root/homeprod/docker/infrastructure/squid/squid.conf
target: /etc/squid/squid.conf
volumes:
log:
cache:
driver: local
driver_opts:
type: 'none'
o: 'bind'
device: '/app/squid/cache'