-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
79 lines (79 loc) · 1.96 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
version: '3'
services:
cif:
build:
dockerfile: ./Dockerfile-ubuntu
context: https://github.com/CommunityHoneyNetwork/stingar-cif.git#v0.1.2
image: cif:ubuntu
privileged: true
ports:
- "5000:5000"
elasticsearch:
user: "1000"
image: docker.elastic.co/elasticsearch/elasticsearch-oss:6.5.0
volumes:
- .devel/elasticsearch/data:/usr/share/elasticsearch/data:z
- .devel/elasticsearch/elasticsearch.yml:/usr/share/elasticsearch/config/elasticsearch.yml:z
ports:
- "127.0.0.1:9200:9200"
- "127.0.0.1:9300:9300"
environment:
ES_JAVA_OPTS: "-Xmx256m -Xms256m"
kibana:
user: "1000"
image: docker.elastic.co/kibana/kibana-oss:6.5.0
volumes:
- .devel/kibana/kibana.yml:/usr/share/kibana/config/kibana.yml:z
ports:
- "5601:5601"
depends_on:
- elasticsearch
- fluentd
links:
- elasticsearch:elasticsearch
fluentd:
build:
context: .devel/fluentd
volumes:
- .devel/fluentd/conf/fluent.conf:/fluentd/etc/fluent.conf:z
- .devel/fluentd/conf/fluent.conf:/etc/conf.d/es.conf:z
- ./fluentd-outputs/out_stingar.rb:/etc/fluent/plugin/out_cif.rb:z
ports:
- "24224:24224"
- "24224:24224/udp"
links:
# - cif:cif
- elasticsearch:elasticsearch
env_file:
- stingar.env
fluentbit:
image: fluent/fluent-bit
links:
- fluentd:fluentd
volumes:
- .devel/fluentbit/conf/fluent-bit.conf:/fluent-bit/etc/fluent-bit.conf
env_file:
- stingar.env
cowrie:
build:
dockerfile: Dockerfile
context: ./fluentd-cowrie
image: cowrie:ubuntu
ports:
- "22:2222"
- "23:2223"
depends_on:
- fluentd
links:
- fluentbit:fluentbit
env_file:
- stingar.env
stingarapi:
build:
dockerfile: ./Dockerfile
context: stingar-api
image: stingar-api:ubuntu
ports:
- "8000:8000"
links:
- elasticsearch:elasticsearch