Update Readme.md
This commit is contained in:
26
Readme.md
26
Readme.md
@@ -13,20 +13,6 @@ cd duino-coin-docker
|
|||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
```
|
```
|
||||||
|
|
||||||
### Run miner with Docker
|
|
||||||
|
|
||||||
```bash
|
|
||||||
docker run -d \
|
|
||||||
-e DUCO_USERNAME="your_username" \
|
|
||||||
-e DUCO_MINING_KEY="your_base64_encoded_key" \
|
|
||||||
-e DUCO_INTENSITY="95" \
|
|
||||||
-e DUCO_THREADS="4" \
|
|
||||||
/duino-coin-docker:latest
|
|
||||||
```
|
|
||||||
|
|
||||||
* `DUCO_MINING_KEY` must be **Base64-encoded**.
|
|
||||||
* All other settings can be adjusted via environment variables.
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Build locally
|
## Build locally
|
||||||
@@ -34,3 +20,15 @@ docker run -d \
|
|||||||
```bash
|
```bash
|
||||||
docker build -t duino-coin-docker .
|
docker build -t duino-coin-docker .
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Run miner with Docker
|
||||||
|
|
||||||
|
```bash
|
||||||
|
docker run -d \
|
||||||
|
-e DUCO_USERNAME="your_username" \
|
||||||
|
-e DUCO_MINING_KEY="your_key" \
|
||||||
|
-e DUCO_INTENSITY="95" \
|
||||||
|
-e DUCO_THREADS="4" \
|
||||||
|
/duino-coin-docker:latest
|
||||||
|
```
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user