Pihole + cloudflared DoH + cloudflare gateway

I've come up with a "simple" way to run pihole with an upstream DoH connection to Cloudflare Gateway for custom traffic filtering.

Gist: Pihole Install · GitHub

It leverages macvlan to put the pihole docker container on to your local network so it can have port 53.
It also places the cloudflared container directly into the pihole container's network so that pihole can query it over