-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yaml
87 lines (87 loc) · 2 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
services:
adguard:
container_name: adguard
image: adguard/adguardhome:latest
ports:
- 3025:3000 # AdGuard Home web interface
- 53:53/udp # DNS over UDP
- 53:53/tcp # DNS over TCP
volumes:
- ./adguard/conf:/opt/adguardhome/conf:rw
- ./adguard/work:/opt/adguardhome/work:rw
- ./adguard/root.hints:/var/lib/unbound/root.hints
- /dev/shm/adguard-logs:/opt/adguardhome/log
restart: unless-stopped
security_opt:
- no-new-privileges:true
environment:
- TZ=Europe/London
networks:
dns_network:
ipv4_address: 10.0.0.2
powerdns:
container_name: powerdns
image: powerdns/pdns-recursor-52:latest
ports:
- 5301:5301
environment:
- PDNS_LOCAL_ADDRESS=0.0.0.0:57
volumes:
- ./recursor.yml:/etc/powerdns/recursor.yml:ro
restart: unless-stopped
networks:
dns_network:
ipv4_address: 10.0.0.3
security_opt:
- no-new-privileges:true
dnscrypt-proxy:
container_name: dnscrypt-proxy
image: melchor9000/dnscrypt-proxy:latest
ports:
- 5353:53/udp
networks:
dns_network:
ipv4_address: 10.0.0.4
volumes:
- ./conf:/etc/dnscrypt-proxy
restart: unless-stopped
security_opt:
- no-new-privileges:true
environment:
- TZ=Europe/London
unbound:
container_name: unbound
image: crazymax/unbound
depends_on:
- redis
ports:
- 5053:5053/udp
volumes:
- ./config:/config:ro
networks:
dns_network:
ipv4_address: 10.0.0.5
environment:
- PUID=1000
- PGID=1000
- TZ=GMT
security_opt:
- no-new-privileges:true
restart: unless-stopped
redis:
image: redis:latest
container_name: redis
restart: unless-stopped
ports:
- 6379:6379
networks:
dns_network:
ipv4_address: 10.0.0.6
networks:
dns_network:
driver: bridge
ipam:
config:
- subnet: 10.0.0.0/24
Your_external_network:
external: true