(Translated by https://www.hiragana.jp/)
pihole-unbound/README.md at master · artee666/pihole-unbound · GitHub
Skip to content

Latest commit

 

History

History
28 lines (23 loc) · 1.35 KB

README.md

File metadata and controls

28 lines (23 loc) · 1.35 KB

Pi-Hole + Unbound on Docker

  • This docker-compose runs the following 2 services

Only ports from Pi-Hole are exposed to the host. Unbound resolver is accessed by Pi-Hole through new docker_pinet network.

Several environment variables are defined:

Variable Description Example
PIHOLE_PWD Web password for the Pi-Hole 123456
UNBOUND_IP IP for the UnBound from within the PINET_SUBNET 172.20.0.99
PINET_SUBNET Network mask for the pinet 172.20.0.0/24
DNS_IP IP address of some DNS server (could be another instance of Pi-Hole) 1.1.1.1

These could be either set on the commandline:

PIHOLE_PWD=123456 UNBOUND_IP=172.20.0.99 PINET_SUBNET=172.20.0.0/24 DNS_IP=1.1.1.1 docker-compose up -d

or put into .env file as:

PIHOLE_PWD=123456
UNBOUND_IP=172.20.0.99
PINET_SUBNET=172.20.0.0/24
DNS_IP=1.1.1.1