Files
container/pihole/docker-compose.yml

16 lines
428 B
YAML

services:
pihole:
container_name: ${NAME}
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