e26a459bf3
* remove uneeded 1.1.1.1 dns entry I noticed that the 1.1.1.1 dns entry is set in the docker compose file but it is not used for pihole or unbound in any way so makes sense to remove the unneeded entry * Update docker-compose.yaml Removing `dns` directive from docker-compose Co-authored-by: Chris Crowe <425808+chriscrowe@users.noreply.github.com>
35 lines
983 B
YAML
35 lines
983 B
YAML
version: '2'
|
|
|
|
volumes:
|
|
etc_pihole-unbound:
|
|
etc_pihole_dnsmasq-unbound:
|
|
|
|
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
|
|
# - 5335:5335/tcp # Uncomment to enable unbound access on local server
|
|
# - 22/tcp # Uncomment to enable SSH
|
|
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:
|
|
- etc_pihole-unbound:/etc/pihole:rw
|
|
- etc_pihole_dnsmasq-unbound:/etc/dnsmasq.d:rw
|
|
restart: unless-stopped
|
|
|