2023-11-23 08:54:54 +01:00
|
|
|
# More info at https://github.com/pi-hole/docker-pi-hole/ and https://docs.pi-hole.net/
|
|
|
|
services:
|
|
|
|
pihole:
|
|
|
|
container_name: pihole
|
2024-09-04 11:28:31 +02:00
|
|
|
image: pihole/pihole:2024.07.0
|
2023-11-23 08:54:54 +01:00
|
|
|
# For DHCP it is recommended to remove these ports and instead add: network_mode: "host"
|
|
|
|
ports:
|
|
|
|
- "53:53/tcp"
|
|
|
|
- "53:53/udp"
|
|
|
|
#- "67:67/udp" # Only required if you are using Pi-hole as your DHCP server
|
|
|
|
- "8000:80/tcp"
|
|
|
|
environment:
|
|
|
|
TZ: 'Europe/Berlin'
|
|
|
|
WEBPASSWORD: ${WEB_PASSWORD}
|
|
|
|
FTLCONF_LOCAL_IPV4: ${FTLCONF_LOCAL_IPV4}
|
2023-11-23 09:10:50 +01:00
|
|
|
# FTLCONF_LOCAL_IPV6: ${FTLCONF_LOCAL_IPV6}
|
2023-11-23 08:54:54 +01:00
|
|
|
FTLCONF_RATE_LIMIT: '0/0'
|
|
|
|
# Volumes store your data between container upgrades
|
|
|
|
volumes:
|
|
|
|
- './etc-pihole:/etc/pihole'
|
|
|
|
- './etc-dnsmasq.d:/etc/dnsmasq.d'
|
|
|
|
restart: unless-stopped
|