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

@ -52,4 +52,8 @@ 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

@ -144,6 +144,24 @@ services:
- ASPNETCORE_ENVIRONMENT=Development - ASPNETCORE_ENVIRONMENT=Development
- ConnectionStrings__ConnectionString=Data Source=/data/Alloro.db - ConnectionStrings__ConnectionString=Data Source=/data/Alloro.db
restart: unless-stopped restart: unless-stopped
networks:
- 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: networks:
- barrios-network - barrios-network
networks: networks: