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
|
# - 5335:5335/tcp # Uncomment to enable unbound access on local server
|
||||||
# - 22/tcp # Uncomment to enable SSH
|
# - 22/tcp # Uncomment to enable SSH
|
||||||
environment:
|
environment:
|
||||||
ServerIP= ${ServerIP}
|
- ServerIP=${ServerIP}
|
||||||
TZ= ${TZ}
|
- TZ=${TZ}
|
||||||
WEBPASSWORD= ${WEBPASSWORD}
|
- WEBPASSWORD=${WEBPASSWORD}
|
||||||
REV_SERVER= ${REV_SERVER}
|
- REV_SERVER=${REV_SERVER}
|
||||||
REV_SERVER_TARGET= ${REV_SERVER_TARGET}
|
- REV_SERVER_TARGET=${REV_SERVER_TARGET}
|
||||||
REV_SERVER_DOMAIN= ${REV_SERVER_DOMAIN}
|
- REV_SERVER_DOMAIN=${REV_SERVER_DOMAIN}
|
||||||
REV_SERVER_CIDR= ${REV_SERVER_CIDR}
|
- REV_SERVER_CIDR=${REV_SERVER_CIDR}
|
||||||
PIHOLE_DNS_= 127.0.0.1#5335 # Hardcoded to our Unbound server
|
- PIHOLE_DNS_=127.0.0.1#5335
|
||||||
DNSSEC= "true" # Enable DNSSEC
|
- DNSSEC="true"
|
||||||
volumes:
|
volumes:
|
||||||
- etc_pihole-unbound:/etc/pihole:rw
|
- etc_pihole-unbound:/etc/pihole:rw
|
||||||
- etc_pihole_dnsmasq-unbound:/etc/dnsmasq.d: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
|
RUN apt update && apt install -y unbound
|
||||||
|
|
||||||
COPY lighttpd-external.conf /etc/lighttpd/external.conf
|
COPY lighttpd-external.conf /etc/lighttpd/external.conf
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
2022.01.1
|
2022.02.1
|
||||||
|
|
|
@ -16,10 +16,9 @@ services:
|
||||||
- 80/tcp
|
- 80/tcp
|
||||||
- 22/tcp
|
- 22/tcp
|
||||||
environment:
|
environment:
|
||||||
ServerIP: 192.168.1.5
|
- ServerIP=192.168.1.5
|
||||||
WEBPASSWORD: ${WEBPASSWORD}
|
- WEBPASSWORD=${WEBPASSWORD}
|
||||||
DNS1: 192.168.1.6
|
- PIHOLE_DNS_192.168.1.6;192.168.1.13
|
||||||
DNS2: 192.168.1.13
|
|
||||||
volumes:
|
volumes:
|
||||||
- /volume1/docker/pihole-unbound/pihole/volume:/etc/pihole:rw
|
- /volume1/docker/pihole-unbound/pihole/volume:/etc/pihole:rw
|
||||||
- /volume1/docker/pihole-unbound/pihole/config/hosts:/etc/hosts:ro
|
- /volume1/docker/pihole-unbound/pihole/config/hosts:/etc/hosts:ro
|
||||||
|
@ -52,4 +51,4 @@ networks:
|
||||||
config:
|
config:
|
||||||
- subnet: 192.168.1.0/24
|
- subnet: 192.168.1.0/24
|
||||||
gateway: 192.168.1.1
|
gateway: 192.168.1.1
|
||||||
ip_range: 192.168.1.5/30 # 192.168.1.5 and 192.168.1.6
|
ip_range: 192.168.1.5/30 # 192.168.1.5 and 192.168.1.6
|
||||||
|
|
Loading…
Reference in a new issue