-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
74 lines (69 loc) · 1.55 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
version: "3.7"
services:
kobole:
ports:
- "9944:9946"
- "9615:9615"
- "30336"
image: mjrmu7/kobole:1.5
user: root
networks:
- internet
volumes:
- ./res:/res/
command:
# - "--help"
- "--chain"
- "res/live.json"
- "--base-path"
- "/tmp/validator1"
- "--validator"
- "--name"
# Change Validator name.
- "Max"
- "--ws-port"
- "9946"
- "--port"
- "30336"
# - "--rpc-port"
# - "9936"
- "--bootnodes"
- "/dns/apps.digitaltv.co.ke/tcp/30335/ws/p2p/12D3KooWDVzu5qcqAbKAB95PAQ3VL68HFYghzoXqfN9dLrShtG5a"
# Not only bind to localhost.
# - "--unsafe-ws-external"
# - "--unsafe-rpc-external"
- "--log"
- "sub-libp2p=trace"
- "--no-telemetry"
- "--rpc-cors"
- "all"
- "--prometheus-external"
- "--prometheus-port"
- "9615"
prometheus:
image: prom/prometheus
networks:
- internet
ports:
- "9090:9090"
links:
- kobole:localhost
volumes:
- ./prometheus/:/etc/prometheus/
restart: always
grafana:
image: grafana/grafana
user: "104"
depends_on:
- prometheus
networks:
- internet
ports:
- 3001:3000
volumes:
- ./grafana/provisioning/:/etc/grafana/provisioning
- ../monitoring/grafana-dashboards/:/etc/grafana/provisioning/dashboard-definitions
restart: always
networks:
kobole:
internet: