This repository has been archived by the owner on Aug 17, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
127 lines (118 loc) · 3.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
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
version: '3'
volumes:
es_volume:
neo4j_volume:
services:
feeder:
build:
context: feeder/
args:
http_proxy: ${http_proxy}
https_proxy: ${https_proxy}
no_proxy: ${no_proxy}
environment:
http_proxy: ${http_proxy}
https_proxy: ${https_proxy}
no_proxy: ${no_proxy}
elasticsearch:
build:
context: elasticsearch/
args:
ELK_VERSION: ${ELK_VERSION}
http_proxy: ${http_proxy}
https_proxy: ${https_proxy}
no_proxy: ${no_proxy}
ports: [ '9200:9200']
volumes:
- es_volume:/usr/share/elasticsearch/data
environment:
http_proxy: ${http_proxy}
https_proxy: ${https_proxy}
no_proxy: ${no_proxy}
# cf.: https://www.elastic.co/guide/en/elasticsearch/reference/current/docker.html#docker-configuration-methods
ES_JAVA_OPTS: "-Xms1g -Xmx1g"
network.host: 0.0.0.0
node.max_local_storage_nodes: 1
cluster.name: docker-elk-cyber-cluster
bootstrap.memory_lock: 'true'
discovery.type: single-node
# https://github.com/spinscale/elasticsearch-ingest-opennlp#usage
ingest.opennlp.model.file.names: en-ner-persons.bin
ingest.opennlp.model.file.dates: en-ner-dates.bin
ingest.opennlp.model.file.locations: en-ner-locations.bin
logstash:
build:
context: logstash/
args:
http_proxy: ${http_proxy}
https_proxy: ${https_proxy}
no_proxy: ${no_proxy}
ports: [ '5044:5044' ]
depends_on:
- elasticsearch
- provisioner
environment:
http_proxy: ${http_proxy}
https_proxy: ${https_proxy}
no_proxy: ${no_proxy}
# cf.: https://www.elastic.co/guide/en/logstash/current/docker-config.html
#LOG_LEVEL: info
provisioner:
build:
context: provisioner/
args:
http_proxy: ${http_proxy}
https_proxy: ${https_proxy}
no_proxy: ${no_proxy}
environment:
ES_BASE_URI: http://elasticsearch:9200
volumes:
- ./provisioner/:/app
depends_on:
- elasticsearch
kibana:
image: docker.elastic.co/kibana/kibana-oss:${ELK_VERSION}
ports: [ '5601:5601' ]
depends_on:
- elasticsearch
environment:
# cf.: https://www.elastic.co/guide/en/kibana/current/_configuring_kibana_on_docker.html
SERVER_NAME: kibana.docker.cyber
ELASTICSEARCH_URL: http://elasticsearch:9200
KIBANA_DEFAULTAPPID: dashboard/Main_Dashboard
es2neo4j:
build:
context: es2neo4j/
args:
http_proxy: ${http_proxy}
https_proxy: ${https_proxy}
no_proxy: ${no_proxy}
depends_on:
- elasticsearch
- neo4j
neo4j:
build:
context: neo4j/
args:
http_proxy: ${http_proxy}
https_proxy: ${https_proxy}
no_proxy: ${no_proxy}
volumes:
- neo4j_volume:/data
ports:
- "7474:7474"
- "7473:7473"
- "7687:7687"
depends_on:
- elasticsearch
environment:
NEO4J_AUTH: none
http_proxy: ${http_proxy}
https_proxy: ${https_proxy}
no_proxy: ${no_proxy}
decorator:
image: awesomeinc/neo4j-decorator:1.0.6
ports:
- "3000:3000"
depends_on:
- neo4j