diff --git a/adblock/.gitignore b/adblock/.gitignore new file mode 100644 index 0000000..09b95f4 --- /dev/null +++ b/adblock/.gitignore @@ -0,0 +1,2 @@ +etc-dnsmasq.d +etc-pihole diff --git a/adblock/README.md b/adblock/README.md new file mode 100644 index 0000000..ab6d9d0 --- /dev/null +++ b/adblock/README.md @@ -0,0 +1 @@ +# Pi-hole configuration on NixNet diff --git a/adblock/adlists.list b/adblock/adlists.list new file mode 100644 index 0000000..d34e1d6 --- /dev/null +++ b/adblock/adlists.list @@ -0,0 +1 @@ +https://nixnet.xyz/hosts.txt diff --git a/adblock/docker-compose.yml b/adblock/docker-compose.yml new file mode 100644 index 0000000..5012e82 --- /dev/null +++ b/adblock/docker-compose.yml @@ -0,0 +1,30 @@ +version: "3" + +# More info at https://github.com/pi-hole/docker-pi-hole/ and https://docs.pi-hole.net/ +services: + pihole: + container_name: pihole + image: pihole/pihole:latest + ports: + - "198.251.90.89:53:53/tcp" + - "198.251.90.89:53:53/udp" +# - "198.251.90.89:80:80/tcp" + environment: + TZ: 'UTC' + DNS1: 10.250.66.200 + DNS2: 198.251.90.114 + VIRTUAL_HOST: pi.hole + ServerIP: 198.251.90.89 + DNSMASQ_LISTENING: all + # Volumes store your data between container upgrades + volumes: + - './etc-pihole/:/etc/pihole/' + - './etc-dnsmasq.d/:/etc/dnsmasq.d/' + - './adlists.list:/etc/pihole/adlists.list:ro' + - './pihole-FTL.conf:/etc/pihole/pihole-FTL.conf' + - /dev/null:/var/log/pihole.log:ro + - /dev/null:/var/log/pihole-FTL.log:ro + dns: + - 127.0.0.1 + - 198.251.90.114 + restart: unless-stopped diff --git a/adblock/pihole-FTL.conf b/adblock/pihole-FTL.conf new file mode 100644 index 0000000..9d75c26 --- /dev/null +++ b/adblock/pihole-FTL.conf @@ -0,0 +1 @@ +PRIVACYLEVEL=4