Compare commits

9 Commits

Author SHA1 Message Date
659709a2e9 starting unbound 2026-04-03 20:33:34 +02:00
943994bd73 dnsroutinglocalhost& 2026-04-03 12:52:47 +02:00
b09ea468cb dnsrouting 2026-04-03 12:45:12 +02:00
257aadc895 wholenetwork 2026-03-22 19:25:35 +01:00
fa8b6949aa onlyonwg 2026-03-22 19:11:23 +01:00
28d3ed37f1 dockervolumes 2026-03-22 18:56:04 +01:00
99dfa4fa24 merge 2026-03-22 17:13:47 +01:00
adfc713969 push 2026-03-22 17:06:32 +01:00
6c5d3dc991 first 2026-03-22 11:47:26 +01:00
2 changed files with 73 additions and 0 deletions

41
.gitignore vendored
View File

@@ -1,3 +1,43 @@
<<<<<<< HEAD
# ------------------------
# Secrets
# ------------------------
.env
# ------------------------
# Pi-hole data (state)
# ------------------------
etc-pihole/
# ------------------------
# Logs / runtime
# ------------------------
*.log
logs/
pihole.log
# ------------------------
# Docker
# ------------------------
*.pid
*.sock
# ------------------------
# System / editor
# ------------------------
.DS_Store
Thumbs.db
*~
*.swp
*.swo
# ------------------------
# Backup / temp
# ------------------------
*.bak
*.tmp
*.old
=======
# ---> Go
# If you prefer the allow list template instead of the deny list, see community template:
# https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore
@@ -25,3 +65,4 @@ go.work.sum
# env file
.env
>>>>>>> 73708ae84e8c1661dec146bee95ba7e4322e997b

32
docker-compose.yaml Normal file
View File

@@ -0,0 +1,32 @@
services:
pihole:
image: pihole/pihole:latest
container_name: pihole
hostname: pihole
restart: unless-stopped
env_file:
- .env
ports:
- "127.0.0.1:53:53/tcp"
- "127.0.0.1:53:53/udp"
- "${WG_GUEST_IP}:53:53/tcp"
- "${WG_GUEST_IP}:53:53/udp"
- "${WG_ADMIN_IP}:53:53/tcp"
- "${WG_ADMIN_IP}:53:53/udp"
- "${WG_ADMIN_IP}:${PIHOLE_WEB_PORT}:80"
environment:
TZ: ${TZ}
WEBPASSWORD: ${WEBPASSWORD}
PIHOLE_DNS_: ${PIHOLE_DNS_}
DNSMASQ_LISTENING: all
FTLCONF_dns_listeningMode: all
volumes:
- pihole_data:/etc/pihole
- pihole_dnsmasq:/etc/dnsmasq.d
cap_add:
- NET_ADMIN
volumes:
pihole_data:
pihole_dnsmasq: