Add pihole
This commit is contained in:
parent
9b9dba327e
commit
060dfa4d1d
1 changed files with 34 additions and 0 deletions
34
docker/pihole/docker-compose.yml
Normal file
34
docker/pihole/docker-compose.yml
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
version: "3"
|
||||||
|
|
||||||
|
services:
|
||||||
|
pihole:
|
||||||
|
container_name: pihole
|
||||||
|
image: pihole/pihole:latest
|
||||||
|
ports:
|
||||||
|
- "53:53/tcp"
|
||||||
|
- "53:53/udp"
|
||||||
|
- "67:67/udp"
|
||||||
|
- "8053:80/tcp"
|
||||||
|
environment:
|
||||||
|
TZ: "Europe/Helsinki"
|
||||||
|
volumes:
|
||||||
|
- /docker/pihole/pihole/:/etc/pihole/
|
||||||
|
- /docker/pihole/dnsmasq/:/etc/dnsmasq.d/
|
||||||
|
- /docker/pihole/log/:/var/log/pihole.log
|
||||||
|
- /etc/localtime:/etc/localtime:ro
|
||||||
|
dns:
|
||||||
|
- 127.0.0.1
|
||||||
|
- 1.1.1.1
|
||||||
|
cap_add:
|
||||||
|
- NET_ADMIN
|
||||||
|
restart: always
|
||||||
|
labels:
|
||||||
|
- "traefik.enable=true"
|
||||||
|
- "traefik.frontend.rule=HostRegexp:pihole.reekynet.lan,{catchall:.*}"
|
||||||
|
- "traefik.frontend.priority=1"
|
||||||
|
- "traefik.backend=pihole"
|
||||||
|
- "traefik.port=80"
|
||||||
|
|
||||||
|
networks:
|
||||||
|
proxy:
|
||||||
|
external: true
|
Loading…
Reference in a new issue