35 lines
827 B
YAML
35 lines
827 B
YAML
version: "3"
|
|
|
|
services:
|
|
pihole:
|
|
container_name: pihole
|
|
image: jacklul/pihole:latest
|
|
ports:
|
|
- "53:53/tcp"
|
|
- "53:53/udp"
|
|
- "67:67/udp"
|
|
- "81:80/tcp"
|
|
environment:
|
|
TZ: 'Europe/Berlin'
|
|
WEBPASSWORD: ''
|
|
DNSMASQ_LISTENING: 'all'
|
|
PIHOLE_DNS_: 'unbound'
|
|
REV_SERVER: 'true'
|
|
REV_SERVER_DOMAIN: ''
|
|
REV_SERVER_TARGET: '192.168.178.1'
|
|
REV_SERVER_CIDR: '192.168.178.0/24'
|
|
volumes:
|
|
- '/opt/docker/pihole/pihole-etc/:/etc/pihole/'
|
|
- '/opt/docker/pihole/pihole-dnsmasq.d/:/etc/dnsmasq.d/'
|
|
- '/opt/docker/pihole/pihole-updatelists/:/etc/pihole-updatelists/'
|
|
dns:
|
|
- 127.0.0.1
|
|
restart: always
|
|
depends_on:
|
|
- "unbound"
|
|
|
|
unbound:
|
|
container_name: unbound
|
|
image: klutchell/unbound:latest
|
|
restart: always
|