-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
23 lines (22 loc) · 842 Bytes
/
docker-compose.yml
File metadata and controls
23 lines (22 loc) · 842 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
version: "3"
services:
pihole:
container_name: pihole
image: pihole/pihole:latest
ports:
- "53:53/tcp"
- "53:53/udp"
- "67:67/udp" # Only required if you are using Pi-hole as your DHCP server
- "80:80/tcp"
environment:
TZ: 'Europe/Amsterdam'
# Set your web password directly here. Use a strong one!
WEBPASSWORD: 'Nika2000!'
volumes:
- './appdata/pihole-timed-blacklist/etc-pihole:/etc/pihole'
- './appdata/pihole-timed-blacklist/etc-dnsmasq.d:/etc/dnsmasq.d'
- './appdata/pihole-timed-blacklist/scripts:/usr/local/bin/custom_scripts'
- './appdata/pihole-timed-blacklist/timed_domains.list:/etc/pihole/timed_domains.list'
cap_add:
- NET_ADMIN # Required if you are using Pi-hole as your DHCP server, else not needed
restart: unless-stopped