-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
70 lines (63 loc) · 1.91 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
version: "3"
services:
binrecon:
container_name: binrecon
build: .
volumes:
- ./collections:/collections
networks:
- elastic
elasticsearch:
image: elasticsearch:7.12.0
container_name: elasticsearch
environment:
- node.name=es01
- cluster.name=es-binrecon-cluster
- discovery.type=single-node
- bootstrap.memory_lock=true
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
ulimits:
memlock:
soft: -1
hard: -1
volumes:
- ./es_data:/usr/share/elasticsearch/data
ports:
- 9200:9200
networks:
- elastic
kibana:
image: kibana:7.12.0
container_name: kibana
environment:
ELASTICSEARCH_URL: http://elasticsearch:9200
ELASTICSEARCH_HOSTS: '["http://elasticsearch:9200"]'
# echo "hunter2" | base64 | base64 | base64 | base64
# this allows for basic alerting and actions in Kibana
XPACK_ENCRYPTEDSAVEDOBJECTS_ENCRYPTIONKEY: V1ZWb1YyUlhVa2hXYm14T1dqSTRPVU5uUFQwSwo=
ports:
- 5601:5601
networks:
- elastic
logstash:
image: logstash:7.12.0
container_name: logstash
volumes:
- ./configs/pipelines:/usr/share/logstash/pipeline
ports:
- 5044:5044
networks:
- elastic
filebeat:
image: docker.elastic.co/beats/filebeat:7.12.0
entrypoint: bash -c 'export PATH=$PATH:/usr/share/filebeat && /usr/local/bin/docker-entrypoint -e'
user: root
container_name: filebeat
volumes:
- ./configs/filebeat/filebeat.yml:/usr/share/filebeat/filebeat.yml
- ./collections:/collections
networks:
- elastic
networks:
elastic:
driver: bridge