Created
February 9, 2019 08:29
-
-
Save TheTinkerDad/ea425e4661a745fdec659b60bbf093ae to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=============================8< docker-compose.yaml, cut here 8<========================== | |
version: '3.2' | |
volumes: | |
pihole: | |
services: | |
pihole: | |
image: pihole/pihole:latest | |
ports: | |
- 80:80 | |
- 53:53/udp | |
environment: | |
- ServerIP=<docker-host-lan-ip> | |
- DNS1=127.0.0.1 | |
- DNS2=<router-lan-ip-or-google-dns> | |
volumes: | |
- pihole:/etc/pihole | |
- ./pihole-adlists.list:/etc/pihole/adlists.list | |
- ./pihole-resolv.conf:/etc/resolv.conf | |
cap_add: | |
- NET_ADMIN | |
restart: always | |
=============================8< pihole-adlists.list, cut here 8<========================== | |
https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts | |
https://mirror1.malwaredomains.com/files/justdomains | |
http://sysctl.org/cameleon/hosts | |
https://zeustracker.abuse.ch/blocklist.php?download=domainblocklist | |
https://s3.amazonaws.com/lists.disconnect.me/simple_tracking.txt | |
https://s3.amazonaws.com/lists.disconnect.me/simple_ad.txt | |
https://hosts-file.net/ad_servers.txt | |
=============================8< pihole-resolv.conf, cut here 8<=========================== | |
search lan | |
nameserver 127.0.0.1 | |
nameserver <router-lan-ip-or-google-dns> | |
options ndots:0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment