mirror of
https://github.com/pi-hole/docker-pi-hole.git
synced 2024-07-05 23:51:00 +02:00
798c0e606f
- Single docker compose file to spin up a Caddy and a Pi-hole container - I put plenty of comments in compose file for user ref. Looks kinda messy but I figured the more info the better and they can cull out what they dont need. - DHCP server is disabled by default in Pi-hole so I disabled the port binding and NET_ADMIN capability by default as well, with brief instructions and refs included. - Caddy docker compose example ref: https://hub.docker.com/_/caddy - Pi-hole Caddy config ref: https://docs.pi-hole.net/guides/webserver/caddy/ Signed-off-by: William Trelawny <william@trelawny.family>
6 lines
79 B
Caddyfile
6 lines
79 B
Caddyfile
pihole-dev.lab {
|
|
tls internal
|
|
redir / /admin
|
|
reverse_proxy pihole:8081
|
|
}
|