services:
pihole:
container_name: pihole
image: pihole/pihole:latest
networks:
vlan2:
ipv4_address: 192.168.22.12
environment:
TZ: 'America/Toronto'
WEBPASSWORD: 'Password123'
volumes:
- './etc-pihole:/etc/pihole'
- './etc-dnsmasq.d:/etc/dnsmasq.d'
restart: unless-stopped
networks:
vlan2:
external: true