- Run
docker-compose build --build-arg SSH_PRIVATE_KEY="$(cat ~/.ssh/id_rsa)"
- Wait for the image to be built
- Run
docker-compose up -d
The image takes the following arguments:
RUNMODE
(only works running with docker-compose) the runmode [test|node|miner]
test
- this option sets the node to benchmark mode for hashrate calculations.node
- this option configures the node for gateway mode, no miningminer
- default miner role