-
Notifications
You must be signed in to change notification settings - Fork 91
/
Copy pathdocker-compose.yml
197 lines (183 loc) · 5.21 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
version: "3.8"
services:
elasticsearch:
image: 'docker.elastic.co/elasticsearch/elasticsearch:7.11.1'
container_name: elasticsearch
restart: unless-stopped
ports:
- '0.0.0.0:9200:9200'
environment:
- http.host=0.0.0.0
- discovery.type=single-node
- cluster.name=hive
- script.allowed_types= inline
- thread_pool.search.queue_size=100000
- thread_pool.write.queue_size=10000
- gateway.recover_after_nodes=1
- xpack.security.enabled=false
- bootstrap.memory_lock=true
- 'ES_JAVA_OPTS=-Xms256m -Xmx256m'
ulimits:
nofile:
soft: 65536
hard: 65536
volumes:
- ./vol/elasticsearch_data:/usr/share/elasticsearch/data
- ./vol/elasticsearch_logs:/usr/share/elasticsearch/logs
kibana:
image: 'docker.elastic.co/kibana/kibana:7.11.1'
container_name: kibana
restart: unless-stopped
depends_on:
- elasticsearch
ports:
- '5601:5601'
cortex:
image: 'thehiveproject/cortex:latest'
container_name: cortex
restart: unless-stopped
volumes:
- ./cortex/application.conf:/etc/cortex/application.conf
- /var/run/docker.sock:/var/run/docker.sock
- /tmp:/tmp
environment:
- http_proxy=${http_proxy}
- https_proxy=${https_proxy}
depends_on:
- elasticsearch
ports:
- '0.0.0.0:9001:9001'
cassandra:
image: cassandra:3.11
container_name: cassandra
restart: unless-stopped
hostname: cassandra
environment:
- MAX_HEAP_SIZE=1G
- HEAP_NEWSIZE=1G
- CASSANDRA_CLUSTER_NAME=thp
volumes:
- ./vol/cassandra-data:/var/lib/cassandra/data
thehive:
image: 'thehiveproject/thehive4:latest'
container_name: thehive
restart: unless-stopped
depends_on:
- cassandra
ports:
- '0.0.0.0:9000:9000'
volumes:
- ./thehive/application.conf:/etc/thehive/application.conf
- ./vol/data:/opt/data
- ./vol/index:/opt/index
command: '--no-config --no-config-secret'
redis:
image: redis:latest
container_name: redis
restart: unless-stopped
db:
image: mysql:latest
container_name: db
restart: unless-stopped
command: --default-authentication-plugin=mysql_native_password
restart: unless-stopped
environment:
- "MYSQL_USER=misp"
- "MYSQL_PASSWORD=example"
- "MYSQL_ROOT_PASSWORD=password"
- "MYSQL_DATABASE=misp"
volumes:
- ./vol/mysql:/var/lib/mysql
misp:
image: coolacid/misp-docker:core-latest
container_name: misp
restart: unless-stopped
depends_on:
- redis
- db
ports:
- "80:80"
- "443:443"
environment:
- "HOSTNAME=https://localhost"
- "REDIS_FQDN=redis"
- "INIT=true" # Initialze MISP, things includes, attempting to import SQL and the Files DIR
- "CRON_USER_ID=1" # The MISP user ID to run cron jobs as
- "DISIPV6=true" # Disable IPV6 in nginx
misp-modules:
image: coolacid/misp-docker:modules-latest
container_name: misp-modules
environment:
- "REDIS_BACKEND=redis"
depends_on:
- redis
- db
#READY FOR AUTOMATION ?
frontend:
image: ghcr.io/frikky/shuffle-frontend:0.8.64
container_name: shuffle-frontend
hostname: shuffle-frontend
ports:
- "3001:80"
- "3443:443"
environment:
- BACKEND_HOSTNAME=shuffle-backend
restart: unless-stopped
depends_on:
- backend
backend:
image: ghcr.io/frikky/shuffle-backend:0.8.64
container_name: shuffle-backend
hostname: shuffle-backend
ports:
- "5001:5001"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./vol/shuffle-apps:/shuffle-apps
- ./vol/shuffle-files:/shuffle-files
environment:
- DATASTORE_EMULATOR_HOST=shuffle-database:8000
- SHUFFLE_APP_HOTLOAD_FOLDER=./shuffle-apps
- SHUFFLE_FILE_LOCATION=./shuffle-files
- ORG_ID=Shuffle
- SHUFFLE_APP_DOWNLOAD_LOCATION=https://github.com/frikky/shuffle-apps
- SHUFFLE_DEFAULT_USERNAME=admin
- SHUFFLE_DEFAULT_PASSWORD=password
- SHUFFLE_DEFAULT_APIKEY=mysecretkey
- SHUFFLE_APP_FORCE_UPDATE=false
- HTTP_PROXY=
- HTTPS_PROXY=
restart: unless-stopped
depends_on:
- database
orborus:
image: ghcr.io/frikky/shuffle-orborus:0.8.63
container_name: shuffle-orborus
hostname: shuffle-orborus
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
- SHUFFLE_APP_SDK_VERSION=0.8.60
- SHUFFLE_WORKER_VERSION=0.8.63
- ORG_ID=Shuffle
- ENVIRONMENT_NAME=Shuffle
- BASE_URL=http://shuffle-backend:5001
- DOCKER_API_VERSION=1.40
- HTTP_PROXY=
- HTTPS_PROXY=
- SHUFFLE_PASS_WORKER_PROXY=False
- SHUFFLE_ORBORUS_EXECUTION_TIMEOUT=600
- SHUFFLE_BASE_IMAGE_NAME=frikky
- SHUFFLE_BASE_IMAGE_REGISTRY=ghcr.io
- SHUFFLE_BASE_IMAGE_TAG_SUFFIX="-0.8.60"
- CLEANUP=false
restart: unless-stopped
database:
image: frikky/shuffle:database
container_name: shuffle-database
hostname: shuffle-database
ports:
- "8000:8000"
restart: unless-stopped
volumes:
- ./vol/shuffle-database:/etc/shuffle