Skip to content

Commit a93e619

Browse files
committed
2023-01-22 Pi-hole admin password changes - old-menu branch - PR 2 of 3
See SensorsIot#648 for background to this PR. Consequential changes: * harmonises template service definition by removing reference to port 443 but does not re-align other entries (did not seem worthwhile). * harmonises default environment variables file so it is identical to the inline environment variables on master branch. This includes new-style TZ syntax and comments directing users to IOTstack wiki doco on the admin password, and Pi-hole doco on supported environment variables. Signed-off-by: Phill Kelley <[email protected]>
1 parent 8551c26 commit a93e619

File tree

2 files changed

+4
-16
lines changed

2 files changed

+4
-16
lines changed

.templates/pihole/pihole.env

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,5 @@
1-
#TZ=America/Chicago
2-
WEBPASSWORD=pihole
3-
#DNS1=8.8.8.8
4-
#DNS2=8.8.4.4
5-
#DNSSEC=false
6-
#DNS_BOGUS_PRIV=True
7-
#CONDITIONAL_FORWARDING=False
8-
#CONDITIONAL_FORWARDING_IP=your_router_ip_here (only if CONDITIONAL_FORWARDING=true)
9-
#CONDITIONAL_FORWARDING_DOMAIN=optional
10-
#CONDITIONAL_FORWARDING_REVERSE=optional
11-
#ServerIP=your_Pi's_IP_here << recommended
12-
#ServerIPv6= your_Pi's_ipv6_here << Required if using ipv6
13-
#VIRTUAL_HOST=$ServerIP
14-
#IPv6=True
1+
TZ=${TZ:-Etc/UTC}
2+
# see https://sensorsiot.github.io/IOTstack/Containers/Pi-hole/#adminPassword
3+
WEBPASSWORD=
154
INTERFACE=eth0
16-
#DNSMASQ_LISTENING=local
5+
# see https://github.com/pi-hole/docker-pi-hole#environment-variables

.templates/pihole/service.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
- "53:53/udp"
77
- "67:67/udp"
88
- "8089:80/tcp"
9-
#- "443:443/tcp"
109
env_file:
1110
- ./services/pihole/pihole.env
1211
volumes:

0 commit comments

Comments
 (0)