-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy pathdocker-compose.yml
57 lines (49 loc) · 1003 Bytes
/
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
version: '2'
services:
# App
app:
image: devopsru/delivery-pipeline-training
ports:
- "5000:5000"
links:
- "elastic:box-elastic.docker"
depends_on:
- elastic
# Node exporter, Grafana, Prometheus
grafana:
image: grafana/grafana
links:
- "prometheus"
ports:
- "3000:3000"
depends_on:
- prometheus
prometheus:
image: prom/prometheus
ports:
- "9090:9090"
links:
- "node-exporter"
volumes:
- "./steps/11-monitoring/prometheus.yml:/etc/prometheus/prometheus.yml"
depends_on:
- node-exporter
node-exporter:
image: tray/node_exporter
ports:
- "9100:9100"
# Kibna and elasticsearch
kibana:
image: kibana
environment:
- ELASTICSEARCH_URL=http://elasticsearch:9200
ports:
- "5601:5601"
links:
- "elastic:elasticsearch"
depends_on:
- elastic
elastic:
image: elasticsearch
ports:
- "9200:9200"