-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
107 lines (107 loc) · 3.1 KB
/
docker-compose.yml
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
version: "3"
services:
unbound:
image: resolver-lab/unbound-${UNBOUND_VER}
container_name: unbound-${UNBOUND_VER}
environment:
CONFIG: ${UNBOUND_CONF}
tty: true
networks:
resolver-lab:
ipv4_address: 10.0.53.1
#===============================================
bind:
image: resolver-lab/bind-${BIND_VER}
container_name: bind-${BIND_VER}
environment:
CONFIG: ${BIND_CONF}
tty: true
networks:
resolver-lab:
ipv4_address: 10.0.53.2
#===============================================
knot:
image: resolver-lab/knot-${KNOT_VER}
container_name: knot-${KNOT_VER}
environment:
CONFIG: ${KNOT_CONF}
tty: true
networks:
resolver-lab:
ipv4_address: 10.0.53.3
#===============================================
powerdns:
image: resolver-lab/powerdns-${POWERDNS_VER}
container_name: powerdns-${POWERDNS_VER}
environment:
CONFIG: ${POWERDNS_CONF}
tty: true
networks:
resolver-lab:
ipv4_address: 10.0.53.4
#===============================================
egress:
image: resolver-lab/unbound-1.17.1
container_name: egress
environment:
CONFIG: qmin-off
tty: true
networks:
resolver-lab:
ipv4_address: 10.0.53.5
#===============================================
fpdns:
image: resolver-lab/fpdns.lab
container_name: fpdns.lab
tty: true
networks:
resolver-lab:
ipv4_address: 10.0.53.6
#===============================================
oldqmin:
cap_add:
- NET_ADMIN # add two IPv4 addresses within container
image: resolver-lab/qmin.lab
container_name: oldqmin.lab
environment:
VERSION: old
tty: true
networks:
resolver-lab:
ipv4_address: 10.0.53.7 # and 10.0.53.8
#===============================================
newqmin:
cap_add:
- NET_ADMIN # add two IPv4 addresses within container
image: resolver-lab/qmin.lab
container_name: newqmin.lab
environment:
VERSION: new
tty: true
networks:
resolver-lab:
ipv4_address: 10.0.53.9 # and 10.0.53.10
#===============================================
polar:
image: resolver-lab/polar.lab
container_name: polar.lab
tty: true
networks:
resolver-lab:
ipv4_address: 10.0.53.11
#===============================================
ns1:
image: resolver-lab/ns1.lab
container_name: ns1.lab
tty: true
networks:
resolver-lab:
ipv4_address: 10.0.53.53
#===============================================
networks:
resolver-lab:
driver: bridge
ipam:
config:
- subnet: 10.0.0.0/16
gateway: 10.0.0.1