This commit is contained in:
bel
2021-09-14 06:42:54 -06:00
commit 434c3dea0e
21 changed files with 594 additions and 0 deletions

30
pihole/Dockerfile Executable file
View File

@@ -0,0 +1,30 @@
FROM pihole/pihole:latest
RUN echo "addn-hosts=/mnt/lan.list" >> /etc/dnsmasq.d/02-lan.conf
#RUN echo "192.168.0.86 vpntor.scratch.home" >> /mnt/lan.list \
# && echo "192.168.0.86 syncthing.scratch.home" >> /mnt/lan.list \
# && echo "192.168.0.86 plex.scratch.home" >> /mnt/lan.list \
# && echo "192.168.0.86 firefly.scratch.home" >> /mnt/lan.list \
# && echo "192.168.0.86 firefly2.scratch.home" >> /mnt/lan.list \
# && echo "192.168.0.86 rssmon2.scratch.home" >> /mnt/lan.list \
# && echo "192.168.0.86 rssmon.scratch.home" >> /mnt/lan.list \
# && echo "192.168.0.86 redirector.scratch.home" >> /mnt/lan.list \
# && echo "192.168.0.86 ytubespdrun.scratch.home" >> /mnt/lan.list \
# && echo "192.168.0.86 vpntorfeed.scratch.home" >> /mnt/lan.list \
# && echo "192.168.0.86 stuncaddsies.scratch.home" >> /mnt/lan.list \
# && echo "192.168.0.86 stuncaddsiesi.scratch.home" >> /mnt/lan.list \
# && echo "192.168.0.86 fproxy.scratch.home" >> /mnt/lan.list \
RUN echo 'nameserver 127.0.0.1' >> /etc/resolv.conf \
&& echo 'nameserver 1.1.1.1' >> /etc/resolv.conf \
&& echo 'nameserver 8.8.8.8' >> /etc/resolv.conf \
&& echo 'nameserver 8.8.4.4' >> /etc/resolv.conf
RUN echo "address=/scratch.com/192.168.0.86" >> /etc/dnsmasq.d/03-wildlan.conf
ENV WEB_PORT=8888
ENV DNSMASQ_LISTENING=all
ENV WEBPASSWORD=letme123in
ENV ServerIP=192.168.0.86
ENV DNS1=1.1.1.1
ENV DNS2=8.8.8.8