We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 98542d1 commit 700936dCopy full SHA for 700936d
pi-hole/pihole-compose.yaml
@@ -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