1
0
Fork 0
containers/pihole-compoose.yml

24 lines
639 B
YAML
Raw Normal View History

version: 3
2022-07-01 19:02:23 +05:30
services:
pihole:
container_name: pihole-chaitanya
image: pihole/pihole:latest
ports:
- 53:53/tcp
- 53:53/udp
- 8082:80/tcp
2022-07-01 19:02:23 +05:30
environment:
TZ: Asia/Kolkata
volumes:
- /trayimurti/containers/volumes/pi-hole/etc-pihole:/etc/pihole
- /trayimurti/containers/volumes/pi-hole/etc-dnsmasq.d:/etc/dnsmasq.d
cap_add:
- NET_ADMIN
restart: unless-stopped
security_opt:
- label=disable
2022-07-01 19:02:23 +05:30
# create dirs
# mkdir -vp /trayimurti/containers/volumes/pi-hole/{etc-pihole,etc-dnsmasq}