mirror of
https://github.com/vhaudiquet/homeprod.git
synced 2025-12-19 12:36:03 +00:00
squid: deployed squid
This commit is contained in:
24
docker/infrastructure/squid/docker-compose.yml
Normal file
24
docker/infrastructure/squid/docker-compose.yml
Normal 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'
|
||||
Reference in New Issue
Block a user