legacy-server-config/pihole/docker-compose.yml

20 lines
462 B
YAML
Raw Permalink Normal View History

2021-04-02 12:40:00 +00:00
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