From 13ec178035a29ef71173c7829449739fe7585c20 Mon Sep 17 00:00:00 2001 From: Siina Mashek Date: Mon, 24 Jul 2023 16:20:35 +0300 Subject: [PATCH] Updating pihole docker config --- pihole/.env-example | 1 + pihole/docker-compose.yml | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/pihole/.env-example b/pihole/.env-example index 0e3d552..a0990a8 100644 --- a/pihole/.env-example +++ b/pihole/.env-example @@ -1,3 +1,4 @@ BASE_DATA_DIR= TZ= +WEB_PORT= WEBPASSWORD= diff --git a/pihole/docker-compose.yml b/pihole/docker-compose.yml index 9bdccbd..8e9f020 100644 --- a/pihole/docker-compose.yml +++ b/pihole/docker-compose.yml @@ -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