From 14194fc637d5b339190fde70458f8257b989de03 Mon Sep 17 00:00:00 2001 From: sujiba Date: Thu, 22 Feb 2024 22:20:41 +0000 Subject: [PATCH] =?UTF-8?q?pihole-unbound-hyperlocal/docker-compose.yml=20?= =?UTF-8?q?hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pihole-unbound-hyperlocal/docker-compose.yml | 37 ++++++++++++++++++++ 1 file changed, 37 insertions(+) create mode 100644 pihole-unbound-hyperlocal/docker-compose.yml diff --git a/pihole-unbound-hyperlocal/docker-compose.yml b/pihole-unbound-hyperlocal/docker-compose.yml new file mode 100644 index 0000000..fbe0d66 --- /dev/null +++ b/pihole-unbound-hyperlocal/docker-compose.yml @@ -0,0 +1,37 @@ +version: "3" + +services: +# More info at https://github.com/pi-hole/docker-pi-hole/ and https://docs.pi-hole.net/ + pihole-unbound: + image: sujiba/pihole-unbound-hyperlocal:latest + container_name: pihole + hostname: docker-01 + ports: + - "53:53/tcp" + - "53:53/udp" + # - "67:67/udp" # Only required if you are using Pi-hole as your DHCP server + - "127.0.0.1:10080:80/tcp" + # - 5335:5335/tcp # For testing purposes, uncomment to enable unbound access on local server + environment: + TZ: Europe/Berlin + WEBPASSWORD: ${WEBPASSWORD} + PIHOLE_DNS_: ${PIHOLE_DNS} + DNSSEC: ${DNSSEC} + CUSTOM_CACHE_SIZE: ${CUSTOM_CACHE_SIZE} + DNS_BOGUS_PRIV: ${DNS_BOGUS_PRIV} + DNS_FQDN_REQUIRED: ${DNS_FQDN_REQUIRED} + TEMPERATUREUNIT: ${TEMPERATUREUNIT} + WEBTHEME: ${WEBTHEME} + FTLCONF_MAXDBDAYS: ${MAXDBDAYS} + FTLCONF_DBINTERVAL: ${DBINTERVAL} + # Volumes store your data between container upgrades + volumes: + - ./etc-pihole/:/etc/pihole/ + - ./etc-dnsmasq.d/:/etc/dnsmasq.d/ + # You'll need this, if you are using a self-created network + #- ./resolv.conf:/etc/resolv.conf + # Recommended but not required (DHCP needs NET_ADMIN) + # https://github.com/pi-hole/docker-pi-hole#note-on-capabilities + #cap_add: + #- NET_ADMIN + restart: unless-stopped \ No newline at end of file