-
Notifications
You must be signed in to change notification settings - Fork 90
/
docker-compose.yml
57 lines (53 loc) · 1.17 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
version: '3'
services:
nginx:
container_name: nginx
hostname: nginx
image: nginx:1.19.5
ports:
- 80:80
- 443:443
networks:
- proxy
volumes:
- ./vol/nginx:/etc/nginx/conf.d
- ./vol/ssl:/etc/ssl
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
networks:
- backend
thehive:
image: thehiveproject/thehive:3.5.1-1
container_name: thehive
restart: unless-stopped
depends_on:
- elasticsearch
networks:
- proxy
- backend
command:
--no-config-cortex
--es-uri http://elasticsearch:9200
networks:
backend:
proxy:
external: true