christianlempa-boilerplates/docker-compose/pihole/compose.yaml

27 lines
458 B
YAML
Raw Permalink Normal View History

---
2021-06-11 15:05:20 +02:00
version: '3'
volumes:
dnsmasq:
driver: local
etcd:
driver: local
2021-06-11 15:05:20 +02:00
services:
pihole:
container_name: pihole
image: docker.io/pihole/pihole:2024.07.0
2021-06-11 15:05:20 +02:00
ports:
2023-05-25 14:26:13 +02:00
- 53:53/tcp
- 53:53/udp
- 67:67/udp
- 80:80/tcp
- 443:443/tcp
2021-06-11 15:05:20 +02:00
environment:
2023-05-25 14:26:13 +02:00
- TZ=Europe/Berlin
- WEBPASSWORD=your-secret-password
2021-06-11 15:05:20 +02:00
volumes:
- dnsmasq:/etc/dnsmasq.d
- etcd:/etc/pihole
restart: unless-stopped