add missing env variables

Fix issue #553
now you can access your pi-hole server externaly

Signed-off-by: Назар Ярославович Костецький <silver_925@ukr.net>
This commit is contained in:
Назар Ярославович Костецький 2020-02-04 21:41:44 +02:00
parent 49ed8a0b2c
commit fe545c6bb2
1 changed files with 4 additions and 0 deletions

View File

@ -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 '