-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
86 lines (86 loc) · 2 KB
/
docker-compose.yml
File metadata and controls
86 lines (86 loc) · 2 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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
version: "3.8"
services:
grafana:
build:
context: grafana
args:
UPSTREAM_VERSION_GRAFANA: 12.3.1
image: grafana.dms.dnp.dappnode.eth:1.0.1
restart: always
volumes:
- grafana_data:/var/lib/grafana
healthcheck:
test:
- CMD
- curl
- "-f"
- http://localhost/api/health
interval: 20s
timeout: 10s
retries: 5
prometheus:
build:
context: prometheus
args:
UPSTREAM_VERSION_PROMETHEUS: v3.8.1
image: prometheus.dms.dnp.dappnode.eth:1.0.1
restart: always
volumes:
- prometheus_data:/prometheus
- prometheus_file_sd:/prometheus_file_sd
environment:
DATA_RETENTION_DAYS: 15
manager:
build: ./manager
image: manager.dms.dnp.dappnode.eth:1.0.1
restart: always
volumes:
- manager_data:/data
- prometheus_file_sd:/prometheus_file_sd
depends_on:
grafana:
condition: service_healthy
node-exporter:
build:
context: node_exporter
args:
UPSTREAM_VERSION_NODE_EXPORTER: v1.10.2
restart: always
volumes:
- /:/host:ro,rslave
command:
- "--path.rootfs=/host"
image: node-exporter.dms.dnp.dappnode.eth:1.0.3
cadvisor:
build:
context: cadvisor
args:
UPSTREAM_VERSION_CADVISOR: 0.55.0
restart: always
volumes:
- /:/rootfs:ro
- /var/run:/var/run:rw
- /sys:/sys:ro
- /var/lib/docker/:/var/lib/docker:ro
image: cadvisor.dms.dnp.dappnode.eth:1.0.3
stakers-metrics:
build:
context: stakers-metrics
dockerfile: Dockerfile
restart: always
image: stakers-metrics.dms.dnp.dappnode.eth:1.0.3
environment:
- DEBUG_MODE=false
loki:
build:
context: loki
args:
UPSTREAM_VERSION_LOKI: 3.6.3
command: "-config.file=/etc/loki/local-config.yaml"
restart: always
image: loki.dms.dnp.dappnode.eth:1.0.1
volumes:
grafana_data: {}
prometheus_data: {}
manager_data: {}
prometheus_file_sd: {}