-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
95 lines (88 loc) · 2.21 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
version: '3.3'
services:
borme-extractor:
build:
context: borme-extractor-app
deploy:
restart_policy:
condition: on-failure
volumes:
- type: bind
source: ./borme-extractor-app/config/checker.yml
target: /app/config/borme-extractor/checker.yml
read_only: false
networks:
- elk
depends_on:
- opendistro
- kibana
- grafana
opendistro:
image: amazon/opendistro-for-elasticsearch:latest
volumes:
- type: volume
source: elasticsearch
target: /usr/share/elasticsearch/data
environment:
ES_JAVA_OPTS: "-Xmx256m -Xms256m"
ELASTIC_PASSWORD: changeme
discovery.type: single-node
networks:
- elk
logstash:
image: docker.elastic.co/logstash/logstash-oss:7.12.0
command: bin/logstash --config.reload.automatic
volumes:
- type: bind
source: ./config/logstash/pipelines.yml
target: /usr/share/logstash/config/pipelines.yml
read_only: true
- type: bind
source: ./config/logstash/borme_ingestion
target: /usr/share/logstash/pipelines/borme_ingestion
bind:
propagation: shared
read_only: true
environment:
LS_JAVA_OPTS: "-Xmx256m -Xms256m"
networks:
- elk
depends_on:
- opendistro
kibana:
image: amazon/opendistro-for-elasticsearch-kibana:latest
ports:
- 5601:5601
expose:
- "5601"
environment:
ELASTICSEARCH_URL: https://opendistro:9200
ELASTICSEARCH_HOSTS: https://opendistro:9200
volumes:
- type: bind
source: ./config/kibana/kibana.yml
target: /usr/share/kibana/config/kibana.yml
read_only: true
networks:
- elk
depends_on:
- opendistro
grafana:
image: grafana/grafana:latest
expose:
- "3000"
environment:
GF_INSTALL_PLUGINS: marcusolsson-dynamictext-panel,ryantxu-ajax-panel,grafana-piechart-panel,briangann-datatable-panel
volumes:
- type: bind
source: ./config/grafana/grafana.db
target: /var/lib/grafana/grafana.db
ports:
- 3000:3000
networks:
- elk
networks:
elk:
driver: bridge
volumes:
elasticsearch: