From fe545c6bb23e7f73e6bbf109d3d22e8ee443e689 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=9D=D0=B0=D0=B7=D0=B0=D1=80=20=D0=AF=D1=80=D0=BE=D1=81?= =?UTF-8?q?=D0=BB=D0=B0=D0=B2=D0=BE=D0=B2=D0=B8=D1=87=20=D0=9A=D0=BE=D1=81?= =?UTF-8?q?=D1=82=D0=B5=D1=86=D1=8C=D0=BA=D0=B8=D0=B9?= Date: Tue, 4 Feb 2020 21:41:44 +0200 Subject: [PATCH] add missing env variables MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fix issue #553 now you can access your pi-hole server externaly Signed-off-by: Назар Ярославович Костецький --- docker_run.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker_run.sh b/docker_run.sh index 071f83d..e14d33d 100755 --- a/docker_run.sh +++ b/docker_run.sh @@ -12,6 +12,10 @@ docker run -d \ -v "$(pwd)/etc-dnsmasq.d/:/etc/dnsmasq.d/" \ --dns=127.0.0.1 --dns=1.1.1.1 \ --restart=unless-stopped \ + --hostname pi.hole \ + -e VIRTUAL_HOST="pi.hole" \ + -e PROXY_LOCATION="pi.hole" \ + -e ServerIP="127.0.0.1" \ # should be replaced with your external ip pihole/pihole:latest printf 'Starting up pihole container '