services: service: image: pihole/pihole:latest ports: - "192.168.1.152:53:53/tcp" - "192.168.1.152:53:53/udp" - "8001:80/tcp" #- "443:443/tcp" #- "67:67/udp" #- "123:123/udp" environment: TZ: "America/Denver" FTLCONF_webserver_api_password: ${PIHOLE_SECRET} FTLCONF_dns_listeningMode: "all" volumes: - "./etc-pihole:/etc/pihole" #- './etc-dnsmasq.d:/etc/dnsmasq.d' cap_add: - NET_ADMIN - SYS_TIME - SYS_NICE restart: unless-stopped networks: - traefik networks: traefik: external: true