forked from TheHive-Project/Docker-Templates
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
123 lines (120 loc) · 3.47 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
version: '3.8'
services:
## Cortex
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
thehive:
image: 'thehiveproject/thehive4:latest'
container_name: 'thehive4'
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/data:/opt/thp/thehive/data
- ./vol/thehive/index:/opt/thp/thehive/index
networks:
- default
command: '--no-config --no-config-secret'
## Shuffle
frontend:
image: ghcr.io/frikky/shuffle-frontend:0.8.0
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.0
container_name: shuffle-backend
hostname: shuffle-backend
ports:
- "5001:5001"
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./vol/shuffle/shuffle-apps:/shuffle-apps
environment:
- DATASTORE_EMULATOR_HOST=shuffle-database:8000
- SHUFFLE_APP_HOTLOAD_FOLDER=./shuffle-apps
- ORG_ID=Shuffle
- SHUFFLE_APP_DOWNLOAD_LOCATION=https://github.com/frikky/shuffle-apps
- SHUFFLE_DEFAULT_USERNAME=${SHUFFLE_DEFAULT_USERNAME}
- SHUFFLE_DEFAULT_PASSWORD=${SHUFFLE_DEFAULT_PASSWORD}
- SHUFFLE_DEFAULT_APIKEY=${SHUFFLE_DEFAULT_APIKEY}
- HTTP_PROXY=
- HTTPS_PROXY=
restart: unless-stopped
depends_on:
- database
orborus:
image: ghcr.io/frikky/shuffle-orborus:0.8.0
container_name: shuffle-orborus
hostname: shuffle-orborus
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
- SHUFFLE_APP_SDK_VERSION=0.8.0
- SHUFFLE_WORKER_VERSION=0.8.0
- 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
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
networks:
default: null