forked from blacktop/docker-bro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
53 lines (49 loc) · 1.25 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
bro:
image: "blacktop/bro:elastic"
command: -r /pcap/my_capture.pcap /scripts/extract-files.bro /scripts/conn-add-geodata.bro local #"Site::local_nets += { 192.168.99.0/24 }"
links:
- "elasticsearch:elasticsearch"
volumes:
- "./my_capture.pcap:/pcap/my_capture.pcap:rw"
kibana:
image: "kibana:4.1.2"
ports:
- "80:5601"
links:
- "elasticsearch:elasticsearch"
restart: always
elasticsearch:
image: "elasticsearch:1.7.3"
ports:
- "9200:9200"
# volumes_from:
# - data
# volumes:
# - "$PWD/es_data:/usr/share/elasticsearch/data"
# - "$PWD/config:/usr/share/elasticsearch/config"
command: "-Des.network.host=0.0.0.0"
restart: always
# logstash:
# image: "logstash:latest"
# ports:
# - "5000:5000"
# volumes:
# - "$PWD:/config-dir"
# command: logstash -f /config-dir/logstash.conf
# nginx:
# build: .
# ports:
# - "443:443"
# volumes:
# - ./nginx.key:/etc/nginx/ssl/nginx.key
# - ./nginx.crt:/etc/nginx/ssl/nginx.crt
# - ./config/nginx/kibana.conf:/etc/nginx/conf.d/kibana.conf
# env_file:
# - ./secrets.env
# links:
# - kibana:kibana
# restart: always
# data:
# image: "busybox"
# volumes:
# - "/usr/share/elasticsearch/data"