revised approach

This commit is contained in:
rskntroot
2025-06-14 09:50:15 +00:00
parent 12941cd2c5
commit cc32c6010e
27 changed files with 1092 additions and 133 deletions

28
pihole/compose.yml Normal file
View File

@@ -0,0 +1,28 @@
services:
service:
image: pihole/pihole:latest
ports:
- "192.168.1.152:53:53/tcp"
- "192.168.1.152:53:53/udp"
- "8001:80/tcp"
#- "443:443/tcp"
#- "67:67/udp"
#- "123:123/udp"
environment:
TZ: "America/Denver"
FTLCONF_webserver_api_password: ${PIHOLE_SECRET}
FTLCONF_dns_listeningMode: "all"
volumes:
- "./etc-pihole:/etc/pihole"
#- './etc-dnsmasq.d:/etc/dnsmasq.d'
cap_add:
- NET_ADMIN
- SYS_TIME
- SYS_NICE
restart: unless-stopped
networks:
- traefik
networks:
traefik:
external: true