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= BASE_DATA_DIR=
TZ= TZ=
WEB_PORT=
WEBPASSWORD= WEBPASSWORD=

View File

@ -5,8 +5,14 @@ services:
container_name: pihole container_name: pihole
restart: unless-stopped restart: unless-stopped
network_mode: host 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: environment:
TZ: ${TZ} TZ: ${TZ}
WEB_PORT: ${WEB_PORT}
WEBPASSWORD: ${WEBPASSWORD} WEBPASSWORD: ${WEBPASSWORD}
volumes: volumes:
- ${BASE_DATA_DIR}/pihole/etc-pihole:/etc/pihole - ${BASE_DATA_DIR}/pihole/etc-pihole:/etc/pihole