Add new files

This commit is contained in:
MSWS
2025-03-12 05:54:41 -07:00
parent ca9c2c4c9b
commit 10a5e32fef
6 changed files with 89 additions and 53 deletions

21
pihole/compose.yml Normal file
View File

@@ -0,0 +1,21 @@
services:
pihole:
container_name: pihole
image: pihole/pihole:latest
restart: unless-stopped
network_mode: "host"
environment:
TZ: "America/Los_Angeles" # Change this to your timezone
WEBPASSWORD: ${WEB_PASSWORD} # Set the Pi-hole admin password
DNSMASQ_LISTENING: "all"
PIHOLE_DNS_: "1.1.1.1;1.0.0.1" # Upstream DNS (Cloudflare)
VIRTUAL_HOST: "pi.hole"
volumes:
- etc-pihole:/etc/pihole
- etc-dnsmasq:/etc/dnsmasq.d
cap_add:
- NET_ADMIN
volumes:
etc-pihole:
etc-dnsmasq: