-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (41 loc) · 1.09 KB
/
Copy pathdocker-compose.yml
File metadata and controls
41 lines (41 loc) · 1.09 KB
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
version: "3.2"
services:
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.3.0
environment:
discovery.type: single-node
thread_pool.write.queue_size: 1
ports:
- "9200:9200"
- "9300:9300"
elasticsearch-exporter:
image: justwatch/elasticsearch_exporter:1.1.0
command:
- "--es.uri=http://elasticsearch:9200"
restart: always
ports:
- "9114:9114"
depends_on:
- elasticsearch
prometheus:
image: prom/prometheus:v2.13.1
volumes:
- ./prometheus/:/etc/prometheus/
command:
- "--config.file=/etc/prometheus/prometheus.yml"
- "--storage.tsdb.path=/prometheus"
- "--web.console.libraries=/usr/share/prometheus/console_libraries"
- "--web.console.templates=/usr/share/prometheus/consoles"
ports:
- 9090:9090
depends_on:
- elasticsearch-exporter
restart: always
kibana:
image: docker.elastic.co/kibana/kibana:7.3.0
ports:
- "5601:5601"
environment:
ELASTICSEARCH_HOSTS: http://elasticsearch:9200
depends_on:
- elasticsearch