Skip to content

brian32768/docker-pihole

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

pi-hole in docker

I am pulling the pi-hole image from https://hub.docker.com/r/pihole/pihole/

More info at https://github.com/pi-hole/docker-pi-hole/ and https://docs.pi-hole.net/

Quickstart

docker volume create pihole-etc
docker volume create pihole-dnsmasq
docker-compose up

Hostnames

Outside my network, names are served in Cloudflare. I use the same domain inside my network (wildsong.biz) so that things line up nicely whether I am at work or at home.

To resolve names correctly inside my network, I mount a volume "pihole_dnsmasq" and maintain a file wildsong.conf.

Proxy

I run this container behind a reverse proxy.

To make it work with my proxy (brian32768/docker-proxy), I made these changes:

  1. define VIRTUAL_HOST as pihole.wildsong.biz
  2. add network "proxy_net" so the proxy container can see into this network
  3. expose port 80

About

Runs pi-hole in docker

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages