-
Notifications
You must be signed in to change notification settings - Fork 16
/
docker-compose.yml
89 lines (79 loc) · 2.24 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
# Compose Bro-debian-elasicsearch cluster
# set DOCKERHOST with export DOCKERHOST=192.168.1.2:8080
#
# VOLUMES
elastic-data-master:
image: tianon/true
volumes:
- /usr/share/elasticsearch/data
elastic-data-node01:
image: tianon/true
volumes:
- /usr/share/elasticsearch/data
elastic-data-node02:
image: tianon/true
volumes:
- /usr/share/elasticsearch/data
# nginx
nginx:
image: danielguerra/bro-elasticsearch-nginx
hostname: nginx
links:
- "elasticsearch-master:master"
- "elasticsearch-node01:node01"
- "elasticsearch-node02:node02"
ports:
- "9200:9200"
- "9300:9300"
# ELASTICSEARCH
elasticsearch-master:
image: danielguerra/alpine-elasticsearch
command: -Des.network.bind_host=elasticsearch-master --cluster.name=bro --node.name=elasticsearch-master --discovery.zen.ping.multicast.enabled=false --network.host=elasticsearch-master
hostname: elasticsearch-master
volumes_from:
- "elastic-data-master"
elasticsearch-node01:
image: danielguerra/alpine-elasticsearch
command: -Des.network.bind_host=elasticsearch-node01 --cluster.name=bro --node.name=elasticsearch-node01 --discovery.zen.ping.unicast.hosts=master:9300 --network.host=elasticsearch-node01
hostname: elasticsearch-node01
links:
- "elasticsearch-master:master"
volumes_from:
- "elastic-data-node01"
elasticsearch-node02:
image: danielguerra/alpine-elasticsearch
command: -Des.network.bind_host=elasticsearch-node02 --cluster.name=bro --node.name=elasticsearch-node02 --discovery.zen.ping.unicast.hosts=master:9300 --network.host=elasticsearch-node02
hostname: elasticsearch-node02
links:
- "elasticsearch-master:master"
volumes_from:
- "elastic-data-node02"
# KIBANA
kibana:
image: kibana:4.6
hostname: kibana
ports:
- "5601:5601"
links:
- "nginx:elasticsearch"
# BRO
bro-xinitd-forensic:
image: danielguerra/bro-debian-elasticsearch
command: /role/xinetd-forensic $DOCKERHOST
hostname: bro-xinetd-forensic
links:
- "nginx:elasticsearch"
ports:
- "1969:1969"
- "8080:80"
# mapping
bro-mapping:
image: danielguerra/bro-debian-elasticsearch
command: /scripts/bro-mapping.sh
links:
- "nginx:elasticsearch"
# kibana config
kibana-config:
image: danielguerra/bro-kibana-config
links:
- "elasticsearch-master:elasticsearch"