forked from retzkek/chiamon
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
53 lines (53 loc) · 1.28 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
version: '2'
services:
mtail:
build: mtail
command:
- "-progs"
- "/etc/mtail"
- "-logs"
- "/var/log/chia/debug.log"
- "-logtostderr"
volumes:
- ${HOME}/.chia/mainnet/log/:/var/log/chia/
network_mode: host
node_exporter:
image: quay.io/prometheus/node-exporter:latest
command:
- '--path.rootfs=/host'
pid: host
volumes:
- '/:/host:ro,rslave'
network_mode: host
chia_exporter:
build: chia_exporter
command:
- "-cert"
- "/etc/chia.crt"
- "-key"
- "/etc/chia.key"
volumes:
- ${HOME}/.chia/mainnet/config/ssl/full_node/private_full_node.crt:/etc/chia.crt
- ${HOME}/.chia/mainnet/config/ssl/full_node/private_full_node.key:/etc/chia.key
network_mode: host
prometheus:
build: prometheus
volumes:
- prom_data:/prometheus
network_mode: host
loki:
image: grafana/loki:2.0.0
command: -config.file=/etc/loki/local-config.yaml
network_mode: host
promtail:
build: promtail
volumes:
- ${HOME}/.chia/mainnet/log:/var/log/chia
- ${HOME}/.chia/mainnet/plotter:/var/log/plotter
command: -config.file=/etc/promtail/config.yml
network_mode: host
grafana:
build: grafana
network_mode: host
volumes:
prom_data: