Adding pihole and a caddy record

This commit is contained in:
Dylan Baird 2026-04-30 15:03:14 -04:00
parent 31b90f6ef8
commit 2e08e16904
2 changed files with 22 additions and 0 deletions

View file

@ -53,3 +53,7 @@ alloro.ca {
app-dev.alloro.ca { app-dev.alloro.ca {
reverse_proxy alloro:8080 reverse_proxy alloro:8080
} }
pihole.dylanbaird.com {
reverse_proxy pihole:80
}

View file

@ -146,5 +146,23 @@ services:
restart: unless-stopped restart: unless-stopped
networks: networks:
- barrios-network - barrios-network
pihole:
image: pihole/pihole:latest
container_name: pihole
ports:
- "53:53/tcp"
- "53:53/udp"
- "8081:80/tcp" # Web UI
environment:
TZ: 'America/Toronto'
FTLCONF_webserver_api_password: ${PIHOLE_PASSWORD}
FTLCONF_dns_listeningMode: 'ALL'
volumes:
- /mertz/pihole/etc-pihole:/etc/pihole
- /mertz/pihole/etc-dnsmasq.d:/etc/dnsmasq.d
restart: unless-stopped
networks:
- barrios-network
networks: networks:
barrios-network: barrios-network: