init
This commit is contained in:
BIN
docker-compose-main/pihole/.DS_Store
vendored
Normal file
BIN
docker-compose-main/pihole/.DS_Store
vendored
Normal file
Binary file not shown.
26
docker-compose-main/pihole/docker-compose.yaml
Normal file
26
docker-compose-main/pihole/docker-compose.yaml
Normal file
@@ -0,0 +1,26 @@
|
||||
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
|
||||
hostname: pihole
|
||||
# For DHCP it is recommended to remove these ports and instead add: network_mode: "host"
|
||||
ports:
|
||||
- "53:53/tcp"
|
||||
- "53:53/udp"
|
||||
- "67:67/udp" # Only required if you are using Pi-hole as your DHCP server
|
||||
- "80:80/tcp"
|
||||
environment:
|
||||
TZ: 'America/Chicago'
|
||||
WEBPASSWORD: '946731'
|
||||
# Volumes store your data between container upgrades
|
||||
volumes:
|
||||
- './etc-pihole:/etc/pihole'
|
||||
- './etc-dnsmasq.d:/etc/dnsmasq.d'
|
||||
# https://github.com/pi-hole/docker-pi-hole#note-on-capabilities
|
||||
cap_add:
|
||||
- NET_ADMIN # Required if you are using Pi-hole as your DHCP server, else not needed
|
||||
restart: unless-stopped
|
||||
|
||||
37
docker-compose-main/pihole/etc-dnsmasq.d/01-pihole.conf
Normal file
37
docker-compose-main/pihole/etc-dnsmasq.d/01-pihole.conf
Normal file
@@ -0,0 +1,37 @@
|
||||
# Pi-hole: A black hole for Internet advertisements
|
||||
# (c) 2017 Pi-hole, LLC (https://pi-hole.net)
|
||||
# Network-wide ad blocking via your own hardware.
|
||||
#
|
||||
# Dnsmasq config for Pi-hole's FTLDNS
|
||||
#
|
||||
# This file is copyright under the latest version of the EUPL.
|
||||
# Please see LICENSE file for your rights under this license.
|
||||
|
||||
###############################################################################
|
||||
# FILE AUTOMATICALLY POPULATED BY PI-HOLE INSTALL/UPDATE PROCEDURE. #
|
||||
# ANY CHANGES MADE TO THIS FILE AFTER INSTALL WILL BE LOST ON THE NEXT UPDATE #
|
||||
# #
|
||||
# IF YOU WISH TO CHANGE THE UPSTREAM SERVERS, CHANGE THEM IN: #
|
||||
# /etc/pihole/setupVars.conf #
|
||||
# #
|
||||
# ANY OTHER CHANGES SHOULD BE MADE IN A SEPARATE CONFIG FILE #
|
||||
# WITHIN /etc/dnsmasq.d/yourname.conf #
|
||||
###############################################################################
|
||||
|
||||
addn-hosts=/etc/pihole/local.list
|
||||
addn-hosts=/etc/pihole/custom.list
|
||||
|
||||
|
||||
localise-queries
|
||||
|
||||
|
||||
no-resolv
|
||||
|
||||
log-queries
|
||||
log-facility=/var/log/pihole/pihole.log
|
||||
|
||||
log-async
|
||||
cache-size=10000
|
||||
server=8.8.8.8
|
||||
server=8.8.4.4
|
||||
interface=eth0
|
||||
42
docker-compose-main/pihole/etc-dnsmasq.d/06-rfc6761.conf
Normal file
42
docker-compose-main/pihole/etc-dnsmasq.d/06-rfc6761.conf
Normal file
@@ -0,0 +1,42 @@
|
||||
# Pi-hole: A black hole for Internet advertisements
|
||||
# (c) 2021 Pi-hole, LLC (https://pi-hole.net)
|
||||
# Network-wide ad blocking via your own hardware.
|
||||
#
|
||||
# RFC 6761 config file for Pi-hole
|
||||
#
|
||||
# This file is copyright under the latest version of the EUPL.
|
||||
# Please see LICENSE file for your rights under this license.
|
||||
|
||||
###############################################################################
|
||||
# FILE AUTOMATICALLY POPULATED BY PI-HOLE INSTALL/UPDATE PROCEDURE. #
|
||||
# ANY CHANGES MADE TO THIS FILE AFTER INSTALL WILL BE LOST ON THE NEXT UPDATE #
|
||||
# #
|
||||
# CHANGES SHOULD BE MADE IN A SEPARATE CONFIG FILE #
|
||||
# WITHIN /etc/dnsmasq.d/yourname.conf #
|
||||
###############################################################################
|
||||
|
||||
# RFC 6761: Caching DNS servers SHOULD recognize
|
||||
# test, localhost, invalid
|
||||
# names as special and SHOULD NOT attempt to look up NS records for them, or
|
||||
# otherwise query authoritative DNS servers in an attempt to resolve these
|
||||
# names.
|
||||
server=/test/
|
||||
server=/localhost/
|
||||
server=/invalid/
|
||||
|
||||
# The same RFC requests something similar for
|
||||
# 10.in-addr.arpa. 21.172.in-addr.arpa. 27.172.in-addr.arpa.
|
||||
# 16.172.in-addr.arpa. 22.172.in-addr.arpa. 28.172.in-addr.arpa.
|
||||
# 17.172.in-addr.arpa. 23.172.in-addr.arpa. 29.172.in-addr.arpa.
|
||||
# 18.172.in-addr.arpa. 24.172.in-addr.arpa. 30.172.in-addr.arpa.
|
||||
# 19.172.in-addr.arpa. 25.172.in-addr.arpa. 31.172.in-addr.arpa.
|
||||
# 20.172.in-addr.arpa. 26.172.in-addr.arpa. 168.192.in-addr.arpa.
|
||||
# Pi-hole implements this via the dnsmasq option "bogus-priv" (see
|
||||
# 01-pihole.conf) because this also covers IPv6.
|
||||
|
||||
# OpenWRT furthermore blocks bind, local, onion domains
|
||||
# see https://git.openwrt.org/?p=openwrt/openwrt.git;a=blob_plain;f=package/network/services/dnsmasq/files/rfc6761.conf;hb=HEAD
|
||||
# and https://www.iana.org/assignments/special-use-domain-names/special-use-domain-names.xhtml
|
||||
# We do not include the ".local" rule ourselves, see https://github.com/pi-hole/pi-hole/pull/4282#discussion_r689112972
|
||||
server=/bind/
|
||||
server=/onion/
|
||||
1
docker-compose-main/pihole/etc-pihole/adlists.list
Normal file
1
docker-compose-main/pihole/etc-pihole/adlists.list
Normal file
@@ -0,0 +1 @@
|
||||
https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
|
||||
0
docker-compose-main/pihole/etc-pihole/custom.list
Normal file
0
docker-compose-main/pihole/etc-pihole/custom.list
Normal file
0
docker-compose-main/pihole/etc-pihole/dhcp.leases
Normal file
0
docker-compose-main/pihole/etc-pihole/dhcp.leases
Normal file
9
docker-compose-main/pihole/etc-pihole/dns-servers.conf
Normal file
9
docker-compose-main/pihole/etc-pihole/dns-servers.conf
Normal file
@@ -0,0 +1,9 @@
|
||||
Google (ECS, DNSSEC);8.8.8.8;8.8.4.4;2001:4860:4860:0:0:0:0:8888;2001:4860:4860:0:0:0:0:8844
|
||||
OpenDNS (ECS, DNSSEC);208.67.222.222;208.67.220.220;2620:119:35::35;2620:119:53::53
|
||||
Level3;4.2.2.1;4.2.2.2;;
|
||||
Comodo;8.26.56.26;8.20.247.20;;
|
||||
DNS.WATCH (DNSSEC);84.200.69.80;84.200.70.40;2001:1608:10:25:0:0:1c04:b12f;2001:1608:10:25:0:0:9249:d69b
|
||||
Quad9 (filtered, DNSSEC);9.9.9.9;149.112.112.112;2620:fe::fe;2620:fe::9
|
||||
Quad9 (unfiltered, no DNSSEC);9.9.9.10;149.112.112.10;2620:fe::10;2620:fe::fe:10
|
||||
Quad9 (filtered, ECS, DNSSEC);9.9.9.11;149.112.112.11;2620:fe::11;2620:fe::fe:11
|
||||
Cloudflare (DNSSEC);1.1.1.1;1.0.0.1;2606:4700:4700::1111;2606:4700:4700::1001
|
||||
BIN
docker-compose-main/pihole/etc-pihole/gravity.db
Normal file
BIN
docker-compose-main/pihole/etc-pihole/gravity.db
Normal file
Binary file not shown.
BIN
docker-compose-main/pihole/etc-pihole/gravity_old.db
Normal file
BIN
docker-compose-main/pihole/etc-pihole/gravity_old.db
Normal file
Binary file not shown.
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1 @@
|
||||
eaf650990073a4ff06504a7d7fa310146358d163 /etc/pihole/list.1.raw.githubusercontent.com.domains
|
||||
1
docker-compose-main/pihole/etc-pihole/local.list
Normal file
1
docker-compose-main/pihole/etc-pihole/local.list
Normal file
@@ -0,0 +1 @@
|
||||
### Do not modify this file, it will be overwritten by pihole -g
|
||||
21
docker-compose-main/pihole/etc-pihole/logrotate
Normal file
21
docker-compose-main/pihole/etc-pihole/logrotate
Normal file
@@ -0,0 +1,21 @@
|
||||
/var/log/pihole/pihole.log {
|
||||
su root root
|
||||
daily
|
||||
copytruncate
|
||||
rotate 5
|
||||
compress
|
||||
delaycompress
|
||||
notifempty
|
||||
nomail
|
||||
}
|
||||
|
||||
/var/log/pihole/FTL.log {
|
||||
su root root
|
||||
weekly
|
||||
copytruncate
|
||||
rotate 3
|
||||
compress
|
||||
delaycompress
|
||||
notifempty
|
||||
nomail
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
|
||||
4
docker-compose-main/pihole/etc-pihole/pihole-FTL.conf
Normal file
4
docker-compose-main/pihole/etc-pihole/pihole-FTL.conf
Normal file
@@ -0,0 +1,4 @@
|
||||
#; Pi-hole FTL config file
|
||||
#; Comments should start with #; to avoid issues with PHP and bash reading this file
|
||||
MACVENDORDB=/macvendor.db
|
||||
LOCAL_IPV4=0.0.0.0
|
||||
BIN
docker-compose-main/pihole/etc-pihole/pihole-FTL.db
Normal file
BIN
docker-compose-main/pihole/etc-pihole/pihole-FTL.db
Normal file
Binary file not shown.
7
docker-compose-main/pihole/etc-pihole/setupVars.conf
Normal file
7
docker-compose-main/pihole/etc-pihole/setupVars.conf
Normal file
@@ -0,0 +1,7 @@
|
||||
INSTALL_WEB_INTERFACE=true
|
||||
WEBPASSWORD=0e6d6f4f1dca96327c989a31e1a72e78432ab02c452d3952f4c8056bb289a483
|
||||
PIHOLE_DNS_1=8.8.8.8
|
||||
PIHOLE_DNS_2=8.8.4.4
|
||||
PIHOLE_INTERFACE=eth0
|
||||
QUERY_LOGGING=true
|
||||
BLOCKING_ENABLED=true
|
||||
@@ -0,0 +1,7 @@
|
||||
INSTALL_WEB_INTERFACE=true
|
||||
WEBPASSWORD=0e6d6f4f1dca96327c989a31e1a72e78432ab02c452d3952f4c8056bb289a483
|
||||
PIHOLE_DNS_1=8.8.8.8
|
||||
PIHOLE_DNS_2=8.8.4.4
|
||||
PIHOLE_INTERFACE=eth0
|
||||
QUERY_LOGGING=true
|
||||
BLOCKING_ENABLED=true
|
||||
17
docker-compose-main/pihole/etc-pihole/versions
Normal file
17
docker-compose-main/pihole/etc-pihole/versions
Normal file
@@ -0,0 +1,17 @@
|
||||
CORE_VERSION=v5.17.1
|
||||
CORE_BRANCH=master
|
||||
CORE_HASH=6a45c6a8
|
||||
GITHUB_CORE_VERSION=v5.17.1
|
||||
GITHUB_CORE_HASH=6a45c6a8
|
||||
WEB_VERSION=v5.20.1
|
||||
WEB_BRANCH=master
|
||||
WEB_HASH=3a11976e
|
||||
GITHUB_WEB_VERSION=v5.20.1
|
||||
GITHUB_WEB_HASH=3a11976e
|
||||
FTL_VERSION=v5.23
|
||||
FTL_BRANCH=master
|
||||
FTL_HASH=d201776e
|
||||
GITHUB_FTL_VERSION=v5.23
|
||||
GITHUB_FTL_HASH=d201776e
|
||||
DOCKER_VERSION=2023.05.2
|
||||
GITHUB_DOCKER_VERSION=2023.05.2
|
||||
Reference in New Issue
Block a user