f976f463db
Adding a 2nd docker-compose config for running both Pi-Hole and Unbound in the same container (following recommended steps in the Pi-Hole docs). Restructuring the project to maintain the old 2-container setup as well.
9 lines
No EOL
346 B
Docker
9 lines
No EOL
346 B
Docker
FROM pihole/pihole:latest
|
|
RUN apt update && apt install -y unbound
|
|
|
|
COPY lighttpd-external.conf /etc/lighttpd/external.conf
|
|
COPY unbound-pihole.conf /etc/unbound/unbound.conf.d/pi-hole.conf
|
|
COPY install_unbound_and_s6_init.sh install_unbound_and_s6_init.sh
|
|
|
|
RUN chmod +x install_unbound_and_s6_init.sh
|
|
ENTRYPOINT ./install_unbound_and_s6_init.sh |