-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
166 lines (156 loc) · 3.66 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
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
version: "3.9"
services:
webgoat:
container_name: "webgoat"
image: santosomar/webgoat
volumes:
- logs-webgoat:/tmp/
restart: unless-stopped
networks:
vulnnet:
ipv4_address: 10.6.6.11
logging:
driver: splunk
options:
splunk-token: "${SPLUNK_TOKEN}"
splunk-url: "${SPLUNK_URL}"
splunk-insecureskipverify: "true"
tag: "webgoat"
juice-shop:
container_name: "juice-shop"
image: santosomar/juice-shop
volumes:
- logs-juice-shop:/juice-shop/logs/
restart: unless-stopped
networks:
vulnnet:
ipv4_address: 10.6.6.12
logging:
driver: splunk
options:
splunk-token: "${SPLUNK_TOKEN}"
splunk-url: "${SPLUNK_URL}"
splunk-insecureskipverify: "true"
tag: "juice-shop"
dvwa:
container_name: "dvwa"
image: santosomar/dvwa
volumes:
- logs-dvwa:/var/log/apache2/
restart: unless-stopped
networks:
vulnnet:
ipv4_address: 10.6.6.13
logging:
driver: splunk
options:
splunk-token: "${SPLUNK_TOKEN}"
splunk-url: "${SPLUNK_URL}"
splunk-insecureskipverify: "true"
tag: "dvwa"
mutillidae_2:
container_name: "mutillidae_2"
image: santosomar/mutillidae_2
volumes:
- logs-mutillidae_2:/var/log/apache2
restart: unless-stopped
networks:
vulnnet:
ipv4_address: 10.6.6.14
logging:
driver: splunk
options:
splunk-token: "${SPLUNK_TOKEN}"
splunk-url: "${SPLUNK_URL}"
splunk-insecureskipverify: "true"
tag: "mutillidae_2"
dvna:
container_name: "dvna"
image: santosomar/dvna
restart: unless-stopped
networks:
vulnnet:
ipv4_address: 10.6.6.15
logging:
driver: splunk
options:
splunk-token: "${SPLUNK_TOKEN}"
splunk-url: "${SPLUNK_URL}"
splunk-insecureskipverify: "true"
tag: "dvna"
hackazon:
container_name: "hackazon"
image: santosomar/hackazon
volumes:
- logs-hackazon:/var/log/apache2
restart: unless-stopped
networks:
vulnnet:
ipv4_address: 10.6.6.16
logging:
driver: splunk
options:
splunk-token: "${SPLUNK_TOKEN}"
splunk-url: "${SPLUNK_URL}"
splunk-insecureskipverify: "true"
tag: "hackazon"
wordpress:
image: wordpress
restart: always
environment:
WORDPRESS_DB_HOST: db
WORDPRESS_DB_USER: exampleuser
WORDPRESS_DB_PASSWORD: examplepass
WORDPRESS_DB_NAME: exampledb
volumes:
- wordpress:/var/www/html
networks:
vulnnet:
ipv4_address: 10.6.6.17
logging:
driver: splunk
options:
splunk-token: "${SPLUNK_TOKEN}"
splunk-url: "${SPLUNK_URL}"
splunk-insecureskipverify: "true"
tag: "wp"
db:
image: mysql:5.7
restart: always
environment:
MYSQL_DATABASE: exampledb
MYSQL_USER: exampleuser
MYSQL_PASSWORD: examplepass
MYSQL_RANDOM_ROOT_PASSWORD: '1'
volumes:
- db:/var/lib/mysql
networks:
vulnnet:
ipv4_address: 10.6.6.18
logging:
driver: splunk
options:
splunk-token: "${SPLUNK_TOKEN}"
splunk-url: "${SPLUNK_URL}"
splunk-insecureskipverify: "true"
tag: "wp-db"
networks:
vulnnet:
driver: bridge
ipam:
config:
- subnet: 10.6.6.0/24
gateway: 10.6.6.1
volumes:
logs-hackazon:
external: true
logs-dvwa:
external: true
logs-webgoat:
external: true
logs-juice-shop:
external: true
logs-mutillidae_2:
external: true
wordpress:
db: