Add PiHole stack
This commit is contained in:
parent
85697a23cd
commit
826d7f79ad
|
|
@ -0,0 +1,15 @@
|
||||||
|
services:
|
||||||
|
pihole:
|
||||||
|
container_name: pihole
|
||||||
|
image: pihole/pihole:latest
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- "53:53/tcp"
|
||||||
|
- "53:53/udp"
|
||||||
|
- "8053:80/tcp"
|
||||||
|
env_file:
|
||||||
|
- stack.env
|
||||||
|
# Volumes store your data between container upgrades
|
||||||
|
volumes:
|
||||||
|
- ${PIHOLE_CONFIG_DIR}:/etc/pihole
|
||||||
|
- ${PIHOLE_DNS_FILE}:/etc/dnsmasq.d
|
||||||
|
|
@ -0,0 +1,4 @@
|
||||||
|
PIHOLE_CONFIG_DIR=/home/portainer/pihole/config
|
||||||
|
PIHOLE_DNS_FILE=/home/portainer/pihole/dnsmasq.d
|
||||||
|
WEBPASSWORD=
|
||||||
|
TZ=America/Toronto
|
||||||
Loading…
Reference in New Issue