# vi: ft=yaml version: "3" services: pihole: image: pihole/pihole:latest container_name: pihole network_mode: "host" environment: TZ: 'Europe/Amsterdam' WEBPASSWORD: {{ pihole_password }} PIHOLE_DNS_: '192.168.30.1' INTERFACE: wg0 DNSMASQ_LISTENING: single WEB_BIND_ADDR: 192.168.30.128 FTLCONF_LOCAL_IPV4: 192.168.30.128 volumes: - /mnt/data/pihole:/etc/pihole - /mnt/data/dnsmasq:/etc/dnsmasq.d restart: unless-stopped