This commit is contained in:
39
Readme.md
39
Readme.md
@@ -5,27 +5,6 @@ Docker image for running the **Duino-Coin PC Miner**, optimized for SBCs (e.g.,
|
|||||||
```bash
|
```bash
|
||||||
docker pull git.kopic.hr/tomislav/duino-coin-docker/duino-coin:latest
|
docker pull git.kopic.hr/tomislav/duino-coin-docker/duino-coin:latest
|
||||||
```
|
```
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## Setup
|
|
||||||
|
|
||||||
### Initialize repository with submodules
|
|
||||||
|
|
||||||
```bash
|
|
||||||
git clone https://git.kopic.hr/tomislav/duino-coin-docker.git
|
|
||||||
cd duino-coin-docker
|
|
||||||
git submodule update --init --recursive
|
|
||||||
```
|
|
||||||
|
|
||||||
---
|
|
||||||
|
|
||||||
## Build locally
|
|
||||||
|
|
||||||
```bash
|
|
||||||
docker build -t duino-coin-docker .
|
|
||||||
```
|
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Run miner with Docker
|
## Run miner with Docker
|
||||||
@@ -36,7 +15,21 @@ docker build -t duino-coin-docker .
|
|||||||
docker run -d \
|
docker run -d \
|
||||||
-e DUCO_USERNAME="your_username" \
|
-e DUCO_USERNAME="your_username" \
|
||||||
-e DUCO_MINING_KEY="your_key" \
|
-e DUCO_MINING_KEY="your_key" \
|
||||||
/duino-coin-docker:latest
|
git.kopic.hr/tomislav/duino-coin-docker/duino-coin:latest
|
||||||
|
```
|
||||||
|
|
||||||
|
## Build locally
|
||||||
|
|
||||||
|
### Initialize repository with submodules
|
||||||
|
|
||||||
|
```bash
|
||||||
|
git clone https://git.kopic.hr/tomislav/duino-coin-docker.git
|
||||||
|
cd duino-coin-docker
|
||||||
|
git submodule update --init --recursive
|
||||||
|
```
|
||||||
|
|
||||||
|
```bash
|
||||||
|
docker build -t duino-coin-docker .
|
||||||
```
|
```
|
||||||
|
|
||||||
### Advanced usage (all available environment variables)
|
### Advanced usage (all available environment variables)
|
||||||
@@ -44,7 +37,7 @@ docker run -d \
|
|||||||
```bash
|
```bash
|
||||||
docker run -d \
|
docker run -d \
|
||||||
-e DUCO_USERNAME="your_username" \
|
-e DUCO_USERNAME="your_username" \
|
||||||
-e DUCO_MINING_KEY="your_base64_encoded_key" \
|
-e DUCO_MINING_KEY="your_mining_key" \
|
||||||
-e DUCO_INTENSITY="95" \
|
-e DUCO_INTENSITY="95" \
|
||||||
-e DUCO_THREADS="1" \
|
-e DUCO_THREADS="1" \
|
||||||
-e DUCO_START_DIFF="MEDIUM" \
|
-e DUCO_START_DIFF="MEDIUM" \
|
||||||
|
Reference in New Issue
Block a user