Skip to content

Commit dbd99e8

Browse files
committed
updated for docker
1 parent cd2190c commit dbd99e8

File tree

1 file changed

+30
-0
lines changed

1 file changed

+30
-0
lines changed

DOCKER.md

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
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`!

0 commit comments

Comments
 (0)