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