-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-build.yml
82 lines (79 loc) · 1.94 KB
/
docker-compose-build.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
version: "3"
services:
hivelime:
build: .
container_name: hivelime
ports:
- "4000:4000"
environment:
- "APP_PORT=4000"
- "APP_HOST=0.0.0.0"
- "SUBLIME_SIGNING_KEY:"
- "SUBLIME_HMAC_EXPIRATION=3"
- "DEBUG=false"
- "SUBLIME_URL=http://sublime:3000"
- "SUBLIME_API_KEY="
- "SUBLIME_API_URL="
- "THEHIVE_URL=http://thehive:9000"
- "THEHIVE_KEY="
- "THEHIVE_ALERT_TYPE=Phishing"
- "THEHIVE_ALERT_TAGS=Phishing,SublimeDetection,TestTag:Test"
thehive:
image: strangebee/thehive:latest
container_name: thehive
depends_on:
- cassandra
- elasticsearch
- minio
mem_limit: 1000m
ports:
- "9000:9000"
environment:
- JVM_OPTS="-Xms1024M -Xmx1024M"
command:
- --secret
- "mySecretForTheHive"
- "--cql-hostnames"
- "cassandra"
- "--cql-username"
- "cassandra"
- "--cql-password"
- "cassandra"
- "--index-backend"
- "elasticsearch"
- "--es-hostnames"
- "elasticsearch"
- "--s3-endpoint"
- "http://minio:9000"
- "--s3-access-key"
- "minioadmin"
- "--s3-secret-key"
- "minioadmin"
- "--s3-use-path-access-style"
- "--no-config-cortex"
cassandra:
container_name: cassandra
image: bitnami/cassandra
ports:
- "9042:9042"
environment:
- CASSANDRA_CLUSTER_NAME=TheHive
elasticsearch:
container_name: elastic
mem_limit: 1000m
image: docker.elastic.co/elasticsearch/elasticsearch:7.16.2
ports:
- "9200:9200"
environment:
- discovery.type=single-node
- xpack.security.enabled=false
minio:
container_name: minio
mem_limit: 1000m
image: quay.io/minio/minio
command: ["minio", "server", "/data", "--console-address", ":9001"]
environment:
- MINIO_ROOT_USER=minioadmin
- MINIO_ROOT_PASSWORD=minioadmin
ports:
- "9001:9001"