Skip to content

Commit 700936d

Browse files
committed
Pi-Hole Compose file / Initial commit
1 parent 98542d1 commit 700936d

File tree

1 file changed

+25
-0
lines changed

1 file changed

+25
-0
lines changed

pi-hole/pihole-compose.yaml

+25
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
version: "3"
2+
3+
# More info at https://github.com/pi-hole/docker-pi-hole/ and https://docs.pi-hole.net/
4+
services:
5+
pihole:
6+
container_name: pihole
7+
image: pihole/pihole:latest
8+
ports:
9+
- "53:53/tcp"
10+
- "53:53/udp"
11+
- "67:67/udp"
12+
- "80:80/tcp"
13+
environment:
14+
TZ: 'Europe/Moscow'
15+
WEBPASSWORD: 'wEb_P@$$word'
16+
CORS_HOSTS: '10.10.10.10' # Enable CORS For Homer Service or so on
17+
# Volumes store your data between container upgrades
18+
volumes:
19+
- './etc-pihole:/etc/pihole'
20+
- './etc-dnsmasq.d:/etc/dnsmasq.d'
21+
# Recommended but not required (DHCP needs NET_ADMIN)
22+
# https://github.com/pi-hole/docker-pi-hole#note-on-capabilities
23+
cap_add:
24+
- NET_ADMIN
25+
restart: unless-stopped

0 commit comments

Comments
 (0)