PiHole_Compose hinzugefügt
This commit is contained in:
@@ -0,0 +1,24 @@
|
|||||||
|
version: "3"
|
||||||
|
services:
|
||||||
|
pihole:
|
||||||
|
container_name: pihole
|
||||||
|
image: pihole/pihole:latest
|
||||||
|
|
||||||
|
# For DHCP it is recommended to remove these ports and instead add: network_mode: "host"
|
||||||
|
ports:
|
||||||
|
- "192.168.1.134:53:53/tcp"
|
||||||
|
- "192.168.1.134:53:53/udp"
|
||||||
|
- "67:67/udp" # Only required if you are using Pi-hole as your DHCP server
|
||||||
|
- "192.168.1.134:8020:80/tcp"
|
||||||
|
environment:
|
||||||
|
TZ: 'Europe/Vienna'
|
||||||
|
WEBPASSWORD: 'pihole ist am Besten!'
|
||||||
|
# Volumes store your data between container upgrades
|
||||||
|
volumes:
|
||||||
|
- /home/pi/docker/pihole/etc-dnsmasq.d:/etc/dnsmasq.d
|
||||||
|
- /home/pi/docker/pihole/etc-pihole:/etc/pihole
|
||||||
|
#backup - /home/pi/mnt/docker/pi-hole/etc-dnsmasq.d:/etc/dnsmasq.d
|
||||||
|
#backup - /home/pi/mnt/docker/pi-hole/etc-pihole:/etc/pihole
|
||||||
|
# https://github.com/pi-hole/docker-pi-hole#note-on-capabilities
|
||||||
|
restart: unless-stopped
|
||||||
|
network_mode: bridge
|
||||||
Reference in New Issue
Block a user