63 lines
1.4 KiB
YAML
63 lines
1.4 KiB
YAML
version: "3.3"
|
|
services:
|
|
squid:
|
|
image: fredbcode/squid:latest
|
|
ports:
|
|
- 3128-3150:3128
|
|
environment:
|
|
- TZ=Europe/Paris
|
|
# Sup
|
|
- supgethosts=https://www.google.com https://www.facebook.com https://www.orange.fr https://www.free.fr
|
|
- supicaphost=e2guardian
|
|
- supicapport=1344
|
|
- autoreload=/etc/squid
|
|
volumes:
|
|
- ./squid:/etc/squid:ro
|
|
logging:
|
|
options:
|
|
max-size: "100m"
|
|
max-file: "3"
|
|
restart: unless-stopped
|
|
volumes:
|
|
- cache:/var/spool/squid
|
|
labels:
|
|
# purge memory
|
|
deck-chores.squidrestart.command: sh -c 'squid -k shutdown'
|
|
deck-chores.squidrestart.cron: "* * * * * 00 00 00"
|
|
networks:
|
|
- webfilter
|
|
|
|
e2guardian:
|
|
image: fredbcode/e2guardian:v5.4-amd64
|
|
environment:
|
|
- TZ=Europe/Paris
|
|
healthcheck:
|
|
disable: true
|
|
restart: unless-stopped
|
|
volumes:
|
|
- ./e2guardian/:/etc/e2guardian:ro
|
|
labels:
|
|
# purge memory
|
|
deck-chores.e2guardianrestart.command: sh -c '/usr/sbin/e2guardian -q'
|
|
deck-chores.e2guardianrestart.cron: "* * * * * 00 00 00"
|
|
networks:
|
|
- webfilter
|
|
|
|
deckchores:
|
|
image: funkyfuture/deck-chores:1.1.3
|
|
environment:
|
|
- TZ=Europe/Paris
|
|
volumes:
|
|
- "/var/run/docker.sock:/var/run/docker.sock:ro"
|
|
restart: unless-stopped
|
|
logging:
|
|
options:
|
|
max-size: "100m"
|
|
max-file: "3"
|
|
|
|
networks:
|
|
webfilter:
|
|
|
|
volumes:
|
|
cache:
|