Pull the image and download the config.yaml
docker run -d \
--name=hpool-miner \
-v {config to config.yaml file}//...config.yaml:/hpool/config.yaml:ro \
-v {dir to plots}:/plots \
ghcr.io/carmichaeldylan-cdpro/docker_hpool_miner
If runing on Unraid you must add the --network="host"
to the config to allow for connectivity
Edit config file and add apiKey
minus {}, change name if you wish and change scanMinute
to what you like. I have mine set to 1
You can just copy this template and save as config.yaml but has to be in this format exact.
path:
- /plots/
minerName: Docker-Miner
apiKey: {Provided Hpool API}
cachePath: ""
deviceId: ""
extraParams: {}
log:
lv: debug
path: /plots/logs
name: miner.log
url:
info: ""
submit: ""
scanPath: true
scanMinute: 1
You will have to console into the container to retreive your signature key. I have not yet found a simpler way of going this.
docker exec -it hpool-miner bash
plot-sign -action sign