dns/adblock/docker-compose.yml

31 lines
897 B
YAML

version: "3"
# More info at https://github.com/pi-hole/docker-pi-hole/ and https://docs.pi-hole.net/
services:
pihole:
container_name: pihole
image: pihole/pihole:latest
ports:
- "198.251.90.89:53:53/tcp"
- "198.251.90.89:53:53/udp"
# - "198.251.90.89:80:80/tcp"
environment:
TZ: 'UTC'
DNS1: 10.250.66.200
DNS2: 198.251.90.114
VIRTUAL_HOST: pi.hole
ServerIP: 198.251.90.89
DNSMASQ_LISTENING: all
# Volumes store your data between container upgrades
volumes:
- './etc-pihole/:/etc/pihole/'
- './etc-dnsmasq.d/:/etc/dnsmasq.d/'
- './adlists.list:/etc/pihole/adlists.list:ro'
- './pihole-FTL.conf:/etc/pihole/pihole-FTL.conf'
- /dev/null:/var/log/pihole.log:ro
- /dev/null:/var/log/pihole-FTL.log:ro
dns:
- 127.0.0.1
- 198.251.90.114
restart: unless-stopped