version: "3" services: pi_hole: container_name: pi-hole image: pihole/pihole:latest ports: - "53:53/tcp" - "53:53/udp" - "314:80/tcp" environment: - WEBPASSWORD= volumes: - /pi-hole:/etc/pihole - /pi-hole/dns:/etc/dnsmasq.d networks: pi-hole: ipv4_address: restart: unless-stopped networks: pi-hole: name: pi-hole ipam: config: - subnet: