christianlempa-boilerplates/docker-compose/pihole/docker-compose.yaml
Christoph Schug 4eacd7dad6 fix: add missing Pihole volume definition
While at it, also sort list of volumes in lexical order and at the
missing YAML document marker.
2024-02-23 12:49:00 +01:00

27 lines
445 B
YAML

---
version: '3'
volumes:
dnsmasq:
driver: local
etcd:
driver: local
services:
pihole:
container_name: pihole
image: pihole/pihole:latest
ports:
- 53:53/tcp
- 53:53/udp
- 67:67/udp
- 80:80/tcp
- 443:443/tcp
environment:
- TZ=Europe/Berlin
- WEBPASSWORD=your-secret-password
volumes:
- dnsmasq:/etc/dnsmasq.d
- etcd:/etc/pihole
restart: unless-stopped