Adblock DNS
This commit is contained in:
		
							parent
							
								
									a36d9efc24
								
							
						
					
					
						commit
						ea208b9a15
					
				| 
						 | 
				
			
			@ -0,0 +1,2 @@
 | 
			
		|||
etc-dnsmasq.d
 | 
			
		||||
etc-pihole
 | 
			
		||||
| 
						 | 
				
			
			@ -0,0 +1 @@
 | 
			
		|||
# Pi-hole configuration on NixNet
 | 
			
		||||
| 
						 | 
				
			
			@ -0,0 +1 @@
 | 
			
		|||
https://nixnet.xyz/hosts.txt
 | 
			
		||||
| 
						 | 
				
			
			@ -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
 | 
			
		||||
| 
						 | 
				
			
			@ -0,0 +1 @@
 | 
			
		|||
PRIVACYLEVEL=4
 | 
			
		||||
		Loading…
	
		Reference in New Issue