Add PiHole stack
This commit is contained in:
15
PiHole/docker-compose.yaml
Normal file
15
PiHole/docker-compose.yaml
Normal file
@@ -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
|
||||
4
PiHole/stack.env
Normal file
4
PiHole/stack.env
Normal file
@@ -0,0 +1,4 @@
|
||||
PIHOLE_CONFIG_DIR=/home/portainer/pihole/config
|
||||
PIHOLE_DNS_FILE=/home/portainer/pihole/dnsmasq.d
|
||||
WEBPASSWORD=
|
||||
TZ=America/Toronto
|
||||
Reference in New Issue
Block a user