pihole-deployment/docker-compose.yml

17 lines
480 B
YAML
Raw Normal View History

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"
- "8000:80/tcp"
env_file:
- .env
2023-11-23 08:54:54 +01:00
volumes:
- './etc-pihole:/etc/pihole'
- './etc-dnsmasq.d:/etc/dnsmasq.d'
restart: unless-stopped