Compare commits

17 Commits

Author SHA1 Message Date
7a12ee8851 hostfinnished 2026-05-18 20:51:48 +02:00
0768ea1edc fix 2026-05-18 20:46:17 +02:00
7a3ada8303 stash 2026-05-09 09:01:27 +02:00
b928b55886 frominternaltohostbranch 2026-05-09 08:28:13 +02:00
8326f052d9 piholennetworkisolatfromtherestofthewebservices 2026-05-08 22:41:14 +02:00
61c24f42eb wildcard 2026-04-06 15:33:00 +02:00
69a58598f8 dnsmasq 2026-04-06 15:17:37 +02:00
69bf4564dc finnishprivresolv 2026-04-03 20:59:28 +02:00
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 76 additions and 0 deletions

43
.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 # ---> Go
# If you prefer the allow list template instead of the deny list, see community template: # 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 # https://github.com/github/gitignore/blob/main/community/Golang/Go.AllowList.gitignore
@@ -25,3 +65,6 @@ go.work.sum
# env file # env file
.env .env
>>>>>>> 73708ae84e8c1661dec146bee95ba7e4322e997b
dnsmasq.d
pihole_dnsmasq

33
docker-compose.yaml Normal file
View File

@@ -0,0 +1,33 @@
services:
pihole:
image: pihole/pihole:latest
container_name: pihole
restart: unless-stopped
env_file:
- .env
network_mode: host
environment:
TZ: ${TZ}
WEBPASSWORD: ${WEBPASSWORD}
PIHOLE_DNS_: ${PIHOLE_DNS_}
DNSMASQ_LISTENING: all
FTLCONF_dns_listeningMode: all
FTLCONF_misc_etc_dnsmasq_d: 'true'
FTLCONF_webserver_port: "18080o"
volumes:
- pihole_data:/etc/pihole
- ./pihole_dnsmasq:/etc/dnsmasq.d
depends_on:
- unbound
cap_add:
- NET_ADMIN
unbound:
image: mvance/unbound:latest
container_name: unbound
ports:
- "127.0.0.1:5353:53/tcp"
- "127.0.0.1:5353:53/udp"
restart: unless-stopped
volumes:
pihole_data:
pihole_dnsmasq: