Files
container/pihole/docker-compose.yml

16 lines
496 B
YAML
Raw Normal View History

2025-05-10 11:16:37 +00:00
services:
pihole:
image: pihole/pihole:latest
ports:
2025-11-20 23:18:08 +00:00
- "${PORT_DNS_TCP:-53:53/tcp}"
- "${PORT_DNS_UDP:-53:53/udp}"
- "${PORT_HTTP:-80:80/tcp}"
- "${PORT_HTTPS:-443:443/tcp}"
2025-05-10 11:16:37 +00:00
environment:
2025-11-20 23:18:08 +00:00
- TZ=${TZ:-Europe/Berlin}
- FTLCONF_webserver_api_password=${FTLCONF_webserver_api_password:-admin}
- FTLCONF_dns_listeningMode=${FTLCONF_dns_listeningMode:-all}
2025-05-10 11:16:37 +00:00
volumes:
2025-11-20 23:18:08 +00:00
- "${VOLUME_PERSIST:-./pihole:/etc/pihole}"
restart: unless-stopped