Files
container/pihole-docker-compose.yml

16 lines
428 B
YAML
Raw Normal View History

2025-05-10 11:16:37 +00:00
services:
pihole:
2025-05-10 11:20:20 +00:00
container_name: ${NAME}
2025-05-10 11:16:37 +00:00
image: pihole/pihole:latest
ports:
- "${PORT_DNS_TCP}"
- "${PORT_DNS_UDP}"
- "${PORT_HTTP}"
- "${PORT_HTTPS}"
environment:
- TZ=${TZ}
- FTLCONF_webserver_api_password=${FTLCONF_webserver_api_password}
- FTLCONF_dns_listeningMode=${FTLCONF_dns_listeningMode}
volumes:
- "${VOLUME_PERSIST}"
restart: unless-stopped