You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
 

29 lines
479 B

---
version: "3"
services:
pihole:
image: pihole/pihole:v5.8.1
container_name: pihole
hostname: pihole
restart: always
volumes:
- ./etc/dnsmasq.d/:/etc/dnsmasq.d/
- ./etc/pihole/:/etc/pihole/
ports:
- "53:53/tcp"
- "53:53/udp"
- "67:67/udp"
- "80:80"
- "443:443"
cap_add:
- NET_ADMIN
dns:
- 127.0.0.1
- 1.1.1.1
environment:
- TZ=Etc/UTC
- ServerIP=192.168.1.151
...