-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmetrics.yml
39 lines (39 loc) · 811 Bytes
/
metrics.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
version: "3"
services:
consensus-bn:
environment:
- METRICS_ENABLED=true
expose:
- 5054
consensus-vc:
environment:
- METRICS_ENABLED=true
expose:
- 5064
execution:
environment:
- METRICS_ENABLED=true
expose:
- 6060
prometheus:
build: ./metrics/build/prometheus
ports:
- "${PROMETHEUS_PORT}:9090/tcp"
expose:
- 9090
volumes:
- ./metrics/run/prometheus/:/home/promuser
depends_on:
- execution
- consensus-bn
grafana:
build: ./metrics/build/grafana
ports:
- "${GRAFANA_PORT}:3000/tcp"
environment:
- GF_PATHS_DATA=/home/grafuser/data
- GF_PATHS_LOGS=/home/grafuser/data
volumes:
- ./metrics/run/grafana/:/home/grafuser
depends_on:
- prometheus