parent
5292809c0a
commit
5969c76ee1
4 changed files with 15 additions and 16 deletions
|
@ -18,15 +18,15 @@ services:
|
|||
# - 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}
|
||||
PIHOLE_DNS_= 127.0.0.1#5335 # Hardcoded to our Unbound server
|
||||
DNSSEC= "true" # Enable DNSSEC
|
||||
- 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}
|
||||
- PIHOLE_DNS_=127.0.0.1#5335
|
||||
- DNSSEC="true"
|
||||
volumes:
|
||||
- etc_pihole-unbound:/etc/pihole:rw
|
||||
- etc_pihole_dnsmasq-unbound:/etc/dnsmasq.d:rw
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM pihole/pihole:2022.01.1
|
||||
FROM pihole/pihole:2022.02.1
|
||||
RUN apt update && apt install -y unbound
|
||||
|
||||
COPY lighttpd-external.conf /etc/lighttpd/external.conf
|
||||
|
|
|
@ -1 +1 @@
|
|||
2022.01.1
|
||||
2022.02.1
|
||||
|
|
|
@ -16,10 +16,9 @@ services:
|
|||
- 80/tcp
|
||||
- 22/tcp
|
||||
environment:
|
||||
ServerIP: 192.168.1.5
|
||||
WEBPASSWORD: ${WEBPASSWORD}
|
||||
DNS1: 192.168.1.6
|
||||
DNS2: 192.168.1.13
|
||||
- ServerIP=192.168.1.5
|
||||
- WEBPASSWORD=${WEBPASSWORD}
|
||||
- PIHOLE_DNS_192.168.1.6;192.168.1.13
|
||||
volumes:
|
||||
- /volume1/docker/pihole-unbound/pihole/volume:/etc/pihole:rw
|
||||
- /volume1/docker/pihole-unbound/pihole/config/hosts:/etc/hosts:ro
|
||||
|
|
Loading…
Reference in a new issue