2021-10-21 05:30:34 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
podman stop pihole
|
|
|
|
podman rm pihole
|
2021-11-16 16:32:38 +00:00
|
|
|
podman pull boostchicken/pihole-dote:latest
|
2021-10-21 05:30:34 +00:00
|
|
|
podman run -d --network dns --restart always \
|
|
|
|
--name pihole \
|
|
|
|
-e TZ="America/Chicago" \
|
|
|
|
-v "/mnt/data/etc-pihole/:/etc/pihole/" \
|
|
|
|
-v "/mnt/data/pihole/etc-dnsmasq.d/:/etc/dnsmasq.d/" \
|
|
|
|
--dns=127.0.0.1 \
|
|
|
|
--hostname pi.hole \
|
|
|
|
-e DOTE_OPTS="-s 127.0.0.1:5053 -m 10" \
|
|
|
|
-e VIRTUAL_HOST="pi.hole" \
|
|
|
|
-e PROXY_LOCATION="pi.hole" \
|
|
|
|
-e PIHOLE_DNS_="127.0.0.1#5053" \
|
|
|
|
-e ServerIP="10.0.5.3" \
|
|
|
|
-e IPv6="False" \
|
2021-11-16 16:27:13 +00:00
|
|
|
boostchicken/pihole-dote:latest
|