This Docker compose file uses Traefik 2.x as a http/tcp/udp proxy for PiHole with CloudFlare and LetsEncrypt for on demand SSL certificate generation and domain validation.
Set values for your environment in the .env
file. Optionally, set PASSWORD
and TIME_ZONE
environment variables for the PiHole container.
Start the containers:
docker compose up -d
Verify you're using DoH!