dns/adblock/docker-compose.yml

41 lines
1.1 KiB
YAML
Raw Normal View History

2019-08-27 17:56:28 +00:00
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
2019-09-11 13:04:28 +00:00
doh:
environment:
- "UPSTREAM_NAME=pihole"
restart: always
image: quay.io/sheogorath/doh
# build:
# context: .
ports:
- "127.0.0.1:8054:8053"