-
Notifications
You must be signed in to change notification settings - Fork 1
/
metrics.yml
48 lines (48 loc) · 1.17 KB
/
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
40
41
42
43
44
45
46
47
48
version: '3.3'
services:
beacon:
environment:
- METRICS_ENABLED=true
expose:
- 5054
execution:
environment:
- METRICS_ENABLED=true
expose:
- 6060
prometheus:
container_name: "${CONTAINER_PREFIX}_prometheus"
image: "${IMAGE_PREFIX}-prometheus"
build:
context: ./metrics/build/prometheus
args:
BASE_IMAGE: 'prom/prometheus'
PROCESS_UID: $METRICS_UID
PROCESS_GID: $METRICS_GID
ports:
- "127.0.0.1:${PROMETHEUS_PORT}:9090/tcp"
expose:
- 9090
volumes:
- ./metrics/run/prometheus/:/home/promuser/run
depends_on:
- execution
- beacon
grafana:
container_name: "${CONTAINER_PREFIX}_grafana"
image: "${IMAGE_PREFIX}-grafana"
build:
context: ./metrics/build/grafana
args:
BASE_IMAGE: 'grafana/grafana'
PROCESS_UID: $METRICS_UID
PROCESS_GID: $METRICS_GID
ports:
- "127.0.0.1:${GRAFANA_PORT}:3000/tcp"
environment:
- GF_PATHS_DATA=/home/grafuser/run/data
- GF_PATHS_LOGS=/home/grafuser/run/data
volumes:
- ./metrics/run/grafana/:/home/grafuser/run
depends_on:
- prometheus