Files
pihole/docker-compose.yml

31 lines
762 B
YAML

services:
unbound:
image: mvance/unbound:latest
container_name: unbound
restart: unless-stopped
labels:
- "com.centurylinklabs.watchtower.enable=true"
volumes:
- '/volume1/docker/unbound/unbound.conf:/etc/unbound/unbound.conf'
networks:
- default
pihole:
image: pihole/pihole:latest
container_name: pihole
environment:
TZ: 'Europe/Berlin'
WEBPASSWORD: "JISz5dBYx4MmWO"
PIHOLE_DNS_1: unbound
labels:
- "com.centurylinklabs.watchtower.enable=true"
volumes:
- '/volume1/docker/pihole/etc/pihole:/etc/pihole'
- '/volume1/docker/pihole/etc/dnsmasq.d:/etc/dnsmasq.d'
restart: unless-stopped
networks:
- default
networks:
default:
driver: bridge