Updating pihole docker config

This commit is contained in:
Siina Mashek 2023-07-24 16:20:35 +03:00
parent 1a07c433a3
commit 13ec178035
2 changed files with 7 additions and 0 deletions

View file

@ -1,3 +1,4 @@
BASE_DATA_DIR=
TZ=
WEB_PORT=
WEBPASSWORD=

View file

@ -5,8 +5,14 @@ services:
container_name: pihole
restart: unless-stopped
network_mode: host
ports:
- "53:53/tcp"
- "53:53/udp"
- "67:67/udp" # Only required if you are using Pi-hole as your DHCP server
- "8088:8088/tcp"
environment:
TZ: ${TZ}
WEB_PORT: ${WEB_PORT}
WEBPASSWORD: ${WEBPASSWORD}
volumes:
- ${BASE_DATA_DIR}/pihole/etc-pihole:/etc/pihole