Created
January 3, 2022 18:12
-
-
Save ivanmal/98c4fae1e6dd652ac4277b24de4c8212 to your computer and use it in GitHub Desktop.
Pi Hole Unbound
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
version: '2' | |
services: | |
pihole: | |
container_name: pihole | |
image: cbcrowe/pihole-unbound:latest | |
hostname: ${HOSTNAME} | |
domainname: ${DOMAIN_NAME} | |
ports: | |
- 443:443/tcp | |
- 53:53/tcp | |
- 53:53/udp | |
- 80:80/tcp | |
environment: | |
ServerIP: ${ServerIP} | |
TZ: ${TZ} | |
WEBPASSWORD: ${WEBPASSWORD} | |
REV_SERVER: ${REV_SERVER} | |
REV_SERVER_TARGET: ${REV_SERVER_TARGET} | |
REV_SERVER_DOMAIN: ${REV_SERVER_DOMAIN} | |
REV_SERVER_CIDR: ${REV_SERVER_CIDR} | |
DNS1: 127.0.0.1#5335 # Hardcoded to our Unbound server | |
DNS2: 127.0.0.1#5335 # Hardcoded to our Unbound server | |
DNSSEC: "true" # Enable DNSSEC | |
volumes: | |
- ./pihole:/etc/pihole:rw | |
- ./unbound:/etc/dnsmasq.d:rw | |
restart: unless-stopped |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment