Start from 2.0.0 you can use docker container with Mina Monitor Cluster.
sudo docker run \
--rm \
--name mina_monitor_cluster \
-p 2222:2222 \
-d olton/mina_monitor_cluster:latest \
--nodes "1.1.1.1:8000, 2.2.2.2:8000:true"
--theme dark
you can redefine config parameters with command line arguments:
--nodes
- define Mina Monitor Servername:host_or_ip:port:secure
, you can define several hosts--theme
- set client theme, defaultauto
--chartLabels
- show\hide chart labels, defaultfalse
--precision
- Mina values precision, default4
--coinbase:regular
- Mina coinbase regular, default720
--coinbase:supercharge
- Mina coinbase supercharge, default1440
--explorer
- "staketab",--currencySwitch
- "10s",--blockDiff
- 2
This command overwrite three config parameters:
{
"nodes": [
{
"name": "Alpha", // name
"host": "host_or_ip:port", // host:port
"https": false // secure http or https
},
...
],
"theme": "auto",
"chartLabels": false,
"precision": 4,
"coinbase": {
"regular": 720,
"supercharge": 1440
},
"explorer": "staketab",
"currencySwitch": "10s",
"blockDiff": 2
}