59 lines
1.4 KiB
YAML
59 lines
1.4 KiB
YAML
version: '3'
|
|
services:
|
|
proxy:
|
|
image: traefik:latest
|
|
command:
|
|
- "--log.level=DEBUG"
|
|
volumes:
|
|
- ./traefik:/etc/traefik:ro
|
|
# network_mode: host
|
|
ports:
|
|
- 3128:3128
|
|
- 8080:8080
|
|
labels:
|
|
- "traefik.enable=true"
|
|
- "traefik.http.routers.api.service=api@internal"
|
|
- "traefik.http.routers.api.entrypoints=http"
|
|
- "traefik.http.routers.api.tls=false"
|
|
- "traefik.http.routers.dashboard.rule=Host(`traefik.example.com`) && (PathPrefix(`/api`) || PathPrefix(`/dashboard`))"
|
|
- "traefik.http.routers.dashboard.service=api@internal"
|
|
# - "traefik.tcp.routers.squid.rule=HostSNI(`*`)"
|
|
#- "traefik.tcp.routers.squid.service=squid@file"
|
|
/bin/bash: ligne 1: q : commande introuvable
|
|
squid:
|
|
image: fredbcode/squid:latest-amd64
|
|
volumes:
|
|
- ./squid/squid.conf:/etc/squid/squid.conf:ro
|
|
networks:
|
|
- proxy
|
|
ports:
|
|
- 3129:3128
|
|
labels:
|
|
- "traefik.enable=false"
|
|
|
|
squid1:
|
|
image: fredbcode/squid:latest-amd64
|
|
volumes:
|
|
- ./squid/squid.conf:/etc/squid/squid.conf:ro
|
|
ports:
|
|
- 3130:3128
|
|
labels:
|
|
- "traefik.enable=false"
|
|
|
|
# You can add any squid you want
|
|
|
|
# e2guardian with 5000 workers
|
|
# default denied website toto.fr
|
|
e2guardian:
|
|
image: fredbcode/e2guardian:v5.4-amd64
|
|
networks:
|
|
- proxy
|
|
volumes:
|
|
- ./e2guardian/:/etc/e2guardian:ro
|
|
labels:
|
|
- "traefik.enable=false"
|
|
|
|
networks:
|
|
proxy:
|
|
|