2024-02-23 12:49:00 +01:00
|
|
|
---
|
2021-06-11 15:05:20 +02:00
|
|
|
version: '3'
|
|
|
|
|
2024-02-23 12:49:00 +01:00
|
|
|
volumes:
|
|
|
|
dnsmasq:
|
|
|
|
driver: local
|
|
|
|
etcd:
|
|
|
|
driver: local
|
|
|
|
|
2021-06-11 15:05:20 +02:00
|
|
|
services:
|
|
|
|
pihole:
|
|
|
|
container_name: pihole
|
2024-03-26 15:11:48 +01:00
|
|
|
image: docker.io/pihole/pihole:latest
|
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
|
2024-02-23 12:49:00 +01:00
|
|
|
- etcd:/etc/pihole
|
2024-02-22 19:01:59 +01:00
|
|
|
restart: unless-stopped
|