24 lines
825 B
YAML
24 lines
825 B
YAML
version: "3"
|
|
|
|
# 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:2023.11.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
|