-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yaml
executable file
·49 lines (42 loc) · 1.08 KB
/
docker-compose.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
version: "3.5"
services:
home_dnscrypt:
build: ./dnscrypt
image: dnscrypt-custom:v2.1.5
container_name: dnscrypt
networks:
dns_net:
ipv4_address: 10.53.53.100
ipv6_address: 2001:3984:3989::10
restart: unless-stopped
home_pihole:
container_name: pihole
image: pihole/pihole:2023.05.2
networks:
dns_net:
ipv4_address: 10.53.53.200
ipv6_address: 2001:3984:3989::20
ports:
- "53:53/tcp"
- "53:53/udp"
#- "80:80/tcp"
#- "443:443/tcp"
environment:
TZ: 'Europe/Paris'
WEBPASSWORD: 'strong_password_(G3fvca#AZDEFR€3µ.d:qdMaq-fe' # to change manually, plus the web admin interface is not exposed
PIHOLE_DNS_: 10.53.53.100#5353;2001:3984:3989::20#53530
dns:
- 127.0.0.1
volumes:
- './etc-pihole/:/etc/pihole/'
- './etc-dnsmasq.d/:/etc/dnsmasq.d/'
restart: unless-stopped
depends_on:
- home_dnscrypt
networks:
dns_net:
driver: bridge
ipam:
config:
- subnet: "10.53.53.0/24"
- subnet: "2001:3984:3989::/64"