20 lines
462 B
YAML
20 lines
462 B
YAML
version: "2.4"
|
|
services:
|
|
pihole:
|
|
container_name: pihole
|
|
image: pihole/pihole:latest
|
|
ports:
|
|
- "53:53/tcp"
|
|
- "53:53/udp"
|
|
- "67:67/udp"
|
|
- "8079:80/tcp"
|
|
environment:
|
|
TZ: 'Europe/Vienna'
|
|
PIHOLE_DNS_: '1.1.1.1;1.0.0.1'
|
|
WEBPASSWORD: ${PIHOLE_PASSWORD}
|
|
volumes:
|
|
- './etc-pihole/:/etc/pihole/'
|
|
- './etc-dnsmasq.d/:/etc/dnsmasq.d/'
|
|
cap_add:
|
|
- NET_ADMIN
|
|
restart: unless-stopped |