forked from 0xluen/casper-monitoring
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
37 lines (33 loc) · 947 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
version: "3.5"
networks:
casper-monitoring:
services:
# Available at http://localhost:9090
prometheus:
image: prom/prometheus:latest
container_name: prometheus
volumes:
- ${PWD}/monitoring/prometheus/prometheus.yml.edited:/etc/prometheus/prometheus.yml
ports:
- 9090:9090
networks:
- casper-monitoring
# Dashboard available at http://localhost:3000
# login credentials are admin/admin
grafana:
image: grafana/grafana:latest
env_file: ./monitoring/grafana/grafana.conf
container_name: grafana
volumes:
- ${PWD}/monitoring/grafana/datasource.yml:/etc/grafana/provisioning/datasources/datasource.yml
- ${PWD}/monitoring/grafana/dashboards:/etc/grafana/provisioning/dashboards
ports:
- 3000:3000
networks:
- casper-monitoring
node-exporter:
image: prom/node-exporter:latest
ports:
- 9200:9200
networks:
- casper-monitoring