PiHole_Compose hinzugefügt

This commit is contained in:
2025-04-05 02:29:23 +00:00
parent 0a349b50f0
commit d80813eb83
+24
View File
@@ -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