Bxl-rpi pihole
This commit is contained in:
parent
e6746777dd
commit
f3c67e3223
|
@ -371,3 +371,33 @@ services:
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
command: crond -f
|
command: crond -f
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
|
pihole:
|
||||||
|
container_name: pihole
|
||||||
|
image: cbcrowe/pihole-unbound:latest
|
||||||
|
ports:
|
||||||
|
- 53:53/tcp
|
||||||
|
- 53:53/udp
|
||||||
|
environment:
|
||||||
|
- TZ=Europe/Paris
|
||||||
|
- WEBPASSWORD=${PIHOLE_PASSWORD}
|
||||||
|
- WEBTHEME=default-dark
|
||||||
|
- REV_SERVER=false
|
||||||
|
- PIHOLE_DNS_=127.0.0.1#5335
|
||||||
|
- DNSSEC=true
|
||||||
|
- DNSMASQ_LISTENING=all
|
||||||
|
- FTLCONF_REPLY_ADDR4=192.168.1.220
|
||||||
|
- FTLCONF_RATE_LIMIT=0/0
|
||||||
|
- FTL_CMD=debug
|
||||||
|
- DNSMASQ_USER=root
|
||||||
|
volumes:
|
||||||
|
- $HOME/pihole/config:/etc/pihole
|
||||||
|
- $HOME/pihole/dnsmasq.d:/etc/dnsmasq.d
|
||||||
|
restart: unless-stopped
|
||||||
|
labels:
|
||||||
|
- "traefik.enable=true"
|
||||||
|
- "traefik.http.routers.pihole.rule=Host(`pihole.bhasher.com`)"
|
||||||
|
- "traefik.http.routers.pihole.entrypoints=internalsecure"
|
||||||
|
- "traefik.http.services.pihole.loadbalancer.server.port=80"
|
||||||
|
- "traefik.http.routers.pihole.tls=true"
|
||||||
|
- "traefik.http.routers.pihole.tls.certresolver=http"
|
||||||
|
|
Loading…
Reference in New Issue