pihole-deployment/docker-compose.yml

22 lines
811 B
YAML

# More info at https://github.com/pi-hole/docker-pi-hole/ and https://docs.pi-hole.net/
services:
pihole:
container_name: pihole
image: pihole/pihole:2024.07.0
# 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}
# FTLCONF_LOCAL_IPV6: ${FTLCONF_LOCAL_IPV6}
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