forked from TheHive-Project/Docker-Templates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
54 lines (54 loc) · 1.62 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
version: '3.8'
services:
elasticsearch:
image: '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'
cortex:
image: 'thehiveproject/cortex:latest'
container_name: cortex
restart: unless-stopped
command:
--job-directory ${JOB_DIRECTORY}
environment:
- 'JOB_DIRECTORY=${JOB_DIRECTORY}'
volumes:
- './vol/cortex/application.conf:/etc/cortex/application.conf'
- '${JOB_DIRECTORY}:${JOB_DIRECTORY}'
- '/var/run/docker.sock:/var/run/docker.sock'
depends_on:
- elasticsearch
ports:
- '0.0.0.0:9001:9001'
thehive:
image: 'thehiveproject/thehive4:latest'
container_name: thehive4
restart: unless-stopped
ports:
- '0.0.0.0:9000:9000'
volumes:
- ./vol/thehive/application.conf:/etc/thehive/application.conf
- ./vol/thehive/db:/opt/thp/thehive/db
- ./vol/thehive/index:/opt/thp/thehive/index
- ./vol/thehive/data:/opt/thp/thehive/data
command: '--no-config --no-config-secret'