1
0
Fork 0
containers/extras/pihole-compoose.yml

22 lines
595 B
YAML

version: 3
services:
pihole:
container_name: pihole-chaitanya
image: pihole/pihole:latest
ports:
- 53:53/tcp
- 53:53/udp
- 8082:80/tcp
environment:
- TZ: Asia/Kolkata
volumes:
- /trayimurti/containers/volumes/pi-hole/etc-pihole:/etc/pihole:Z
- /trayimurti/containers/volumes/pi-hole/etc-dnsmasq.d:/etc/dnsmasq.d:Z
cap_add:
- NET_ADMIN
restart: unless-stopped
# create dirs
# mkdir -vp /trayimurti/containers/volumes/pi-hole/{etc-pihole,etc-dnsmasq}