File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change
1
+ # Welcome to Mina Monitor Docker part
2
+ Start from 1.1.5 you can use docker container with Mina Monitor Server.
3
+
4
+ ### Run container
5
+ ``` shell
6
+ sudo docker run --rm --network=host -d olton/mina_monitor_server:latest -journal false
7
+ ```
8
+
9
+ ### Set Mina Monitor Server parameters
10
+ Begin from 1.1.5, you can redefine config parameters with command line arguments:
11
+ ``` shell
12
+ node server/index -publicKey B62q... -price:currency usd -alertToDiscord [" FAIL" ]
13
+ ```
14
+ This command overwrite three config parameters:
15
+ ``` json
16
+ {
17
+ "publicKey" : " B62q..." ,
18
+ "price" : {
19
+ "currency" : " usd"
20
+ },
21
+ "alertToDiscord" : [" FAIL" ]
22
+ }
23
+ ```
24
+
25
+ To run docker image of the Mina Monitor Server with specified config parameters you must add it to end of command:
26
+ ``` shell
27
+ sudo docker run --rm --name mina_monitor_server --network=host -d olton/mina_monitor_server:latest -journal false -publicKey B62q...
28
+ ```
29
+
30
+ > You must always set parameter ` journal ` to ` false ` !
You can’t perform that action at this time.
0 commit comments