This repository has been archived by the owner on Jul 7, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
/
Copy pathdocker-compose.yml
208 lines (193 loc) · 5.12 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
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
version: "2.0"
services:
company-db:
image: enisa2017/database
build:
context: docker/Wordpress/Database
volumes:
- ./data/mysql:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: 902rsdnhiv23qre
MYSQL_DATABASE: wordpress
networks:
enisanet:
ipv4_address: 10.34.1.2
aliases:
- company-db.enisa.ex
# healthcheck:
# test: ["CMD", "mysqladmin" ,"ping", "-h", "localhost", "--password=902rsdnhiv23qre"]
company-wordpress:
image: enisa2017/wordpress
build:
context: docker/Wordpress/Website
depends_on:
- company-db
links:
- company-db:mysql
volumes:
- ./data/wp_site:/var/www/html
networks:
enisanet:
ipv4_address: 10.34.1.3
aliases:
- company-wordpress.enisa.ex
# healthcheck:
# test: ["CMD", "curl", "http://company-wordpress.enisa.ex?p=6"]
elasticsearch:
image: elasticsearch:2
command: [
-Des.script.inline=on,
-Des.cluster.name=hive,
-Des.threadpool.index.queue_size=100000,
-Des.threadpool.search.queue_size=100000,
-Des.threadpool.bulk.queue_size=1000]
volumes:
- ./docker/HIVE/elasticsearch/data:/usr/share/elasticsearch/data
networks:
enisanet:
ipv4_address: 10.34.1.9
aliases:
- elasticsearch.enisa.ex
cortex:
image: enisa2017/cortex
build:
context: docker/HIVE/cortex
volumes:
- ./docker/HIVE/cortex/application.conf:/etc/cortex/application.conf
- ./docker/HIVE/cortex/analyzers:/opt/Cortex-Analyzers/analyzers
networks:
enisanet:
ipv4_address: 10.34.1.10
aliases:
- cortex.enisa.ex
thehive:
image: enisa2017/thehive
build:
context: docker/HIVE/hive
depends_on:
- elasticsearch
- cortex
- misp
volumes:
- ./docker/HIVE/hive/application.conf:/etc/thehive/application.conf
environment:
- "JAVA_OPTS=-Xms512m -Xmx512m"
networks:
enisanet:
ipv4_address: 10.34.1.11
aliases:
- thehive.enisa.ex
misp:
image: enisa2017/grumpycatinc-misp
build:
context: docker/MISP/GrumpyCatInc
volumes:
- ./docker/MISP/data/misp-db-grumpycatinc:/var/lib/mysql
networks:
enisanet:
ipv4_address: 10.34.1.12
aliases:
- grumpycatinc.enisa.ex
extra_hosts:
- "wildhamstersec.enisa.ex:10.34.1.13"
wildhamstersec-misp:
image: enisa2017/wildhamstersec-misp
build:
context: docker/MISP/WildHamsterSec
volumes:
- ./docker/MISP/data/misp-db-wildhamstersec:/var/lib/mysql
networks:
enisanet:
ipv4_address: 10.34.1.13
aliases:
- wildhamstersec.enisa.ex
intelmq:
image: enisa2017/intelmq:1.1
build:
context: docker/intelmq
depends_on:
- honeypot
- elasticsearch5
volumes:
- ./docker/intelmq/file-output:/tmp/file-output
- ./docker/intelmq/config/pipeline.conf:/opt/intelmq/etc/pipeline.conf
- ./docker/intelmq/config/runtime.conf:/opt/intelmq/etc/runtime.conf
- ./docker/intelmq/config/defaults.conf:/opt/intelmq/etc/defaults.conf
- ./docker/honeypot/data:/tmp/honeypot
- ./docker/intelmq/file-input:/tmp/file-input
- ./docker/intelmq/config/positions.conf:/opt/intelmq/etc/manager/positions.conf
links:
- redis
networks:
enisanet:
ipv4_address: 10.34.1.14
aliases:
- intelmq.enisa.ex
redis:
image: redis
networks:
enisanet:
ipv4_address: 10.34.1.15
aliases:
- redis.enisa.ex
elasticsearch5:
image: elasticsearch:5
volumes:
- ./docker/moloch/data:/usr/share/elasticsearch/data
networks:
enisanet:
ipv4_address: 10.34.1.20
aliases:
- elasticsearch5.enisa.ex
environment:
- "ES_JAVA_OPTS=-Xms256m -Xmx256m"
mem_limit: 2g
moloch:
image: enisa2017/moloch
depends_on:
- elasticsearch5
build:
context: docker/moloch
networks:
enisanet:
ipv4_address: 10.34.1.17
aliases:
- moloch.enisa.ex
procmail:
image: enisa2017/grumpycatinc-mailing
build:
context: docker/mailing
networks:
enisanet:
ipv4_address: 10.34.1.18
aliases:
- grumpycatinc.enisa.ex
kibana:
image: kibana:5.5.1
depends_on:
- elasticsearch5
networks:
enisanet:
ipv4_address: 10.34.1.21
aliases:
- kibana.enisa.ex
environment:
- ELASTICSEARCH_URL=http://10.34.1.20:9200
honeypot:
image: enisa2017/grumpycatinc-honeypot
build:
context: docker/honeypot
volumes:
- ./docker/honeypot/data:/opt/shared
networks:
enisanet:
ipv4_address: 10.34.1.19
aliases:
- hunter.enisa.ex
volumes:
db_data:
networks:
enisanet:
ipam:
config:
- subnet: 10.34.0.0/16