add config for pihole
This commit is contained in:
parent
69c3a01c45
commit
045a88ae94
|
@ -0,0 +1,6 @@
|
|||
TZ=Europe/Zurich
|
||||
WEBPASSWORD=password
|
||||
ServerIP=10.7.89.2
|
||||
DNS1=84.200.69.80
|
||||
DNS2=1.1.1.1
|
||||
DNS3=127.0.0.1
|
|
@ -0,0 +1,21 @@
|
|||
version: "2"
|
||||
services:
|
||||
pihole:
|
||||
container_name: pihole
|
||||
image: pihole/pihole:latest
|
||||
network_mode: "host"
|
||||
environment:
|
||||
- "TZ=${TZ}"
|
||||
- "WEBPASSWORD=${WEBPASSWORD}"
|
||||
- "ServerIP=${ServerIP}"
|
||||
- "DNS1=${DNS1}"
|
||||
- "DNS2=${DNS2}"
|
||||
volumes:
|
||||
- ./etc-pihole:/etc/pihole/
|
||||
- ./etc-dnsmasq.d:/etc/dnsmasq.d/
|
||||
dns:
|
||||
- "${DNS3}"
|
||||
- "${DNS1}"
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
restart: unless-stopped
|
Reference in New Issue