-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
81 lines (74 loc) · 1.78 KB
/
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
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
---
version: '2'
services:
zcashd:
# command: ["-reindex"]
image: electriccoinco/zcashd:latest
# image: localhost:5000/electriccoinco/zcashd:v5.0.0
mem_limit: 6G
volumes:
- $ZCASHD_DATADIR:/srv/zcashd/.zcash
- $ZCASHD_PARMDIR:/srv/zcashd/.zcash-params
env_file:
- .env
ports:
- "$ZCASHD_RPCPORT:$ZCASHD_RPCPORT"
- "$ZCASHD_PROMETHEUSPORT:$ZCASHD_PROMETHEUSPORT"
cpus: 2
logging:
driver: loki
options:
loki-url: 'http://localhost:3100/api/prom/push'
ecc_zcashd_exporter:
build: .
env_file:
- .env
ports:
- "9200:9200"
logging:
driver: loki
options:
loki-url: 'http://localhost:3100/api/prom/push'
node_exporter:
image: prom/node-exporter:latest
container_name: monitoring_node_exporter
restart: unless-stopped
expose:
- 9100
grafana:
#image: grafana/grafana:8.2.2
image: grafana/grafana:9.0.0
ports:
- "3000:3000"
env_file:
- .env
volumes:
- ./docker/grafana/provisioning/:/etc/grafana/provisioning/
logging:
driver: loki
options:
loki-url: 'http://localhost:3100/api/prom/push'
prometheus:
#image: prom/prometheus:v2.30.3
image: prom/prometheus
ports:
- "9090:9090"
volumes:
- ./docker/prometheus/config.yml:/etc/prometheus/prometheus.yml
- promethus_data:/promethus_data
logging:
driver: loki
options:
loki-url: 'http://localhost:3100/api/prom/push'
loki:
#image: grafana/loki:main-517ba7c
image: grafana/loki
ports:
- '3100:3100'
command: -config.file=/etc/loki/local-config.yaml
logging:
driver: loki
options:
loki-url: 'http://localhost:3100/api/prom/push'
volumes:
promethus_data: