Merge pull request #562 from NazarKosteckij/patch-1

add missing env variables (Fix issue #553)
This commit is contained in:
Adam Hill 2020-05-06 21:46:47 -05:00 committed by GitHub
commit ce10b7b655
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 '