compose-configs/stateful/pihole-compose.yml
2024-03-31 15:32:07 +02:00

24 lines
473 B
YAML

networks:
proxy-net:
external: true
services:
pihole:
container_name: pihole
image: pihole/pihole:latest
ports:
- "53:53/tcp"
- "53:53/udp"
- "3002:80/tcp"
environment:
TZ: 'Europe/Zurich'
WEBPASSWORD: '${PIHOLE_PASSWORD}'
volumes:
- './containers_storage/pihole/etc:/etc/pihole'
- './containers_storage/pihole/dnsmasq.d:/etc/dnsmasq.d'
restart: unless-stopped
networks:
- proxy-net