All checks were successful
Build Docker Image / build (push) Successful in 43s
64 lines
1.4 KiB
Markdown
64 lines
1.4 KiB
Markdown
# Duino-Coin Docker
|
|
|
|
Docker image for running the **Duino-Coin PC Miner**, optimized for SBCs (e.g., Raspberry Pi, Orange Pi).
|
|
|
|
```bash
|
|
docker pull git.kopic.hr/tomislav/duino-coin-docker/duino-coin:latest
|
|
```
|
|
---
|
|
|
|
## Run miner with Docker
|
|
|
|
### Basic usage
|
|
|
|
```bash
|
|
docker run -d \
|
|
-e DUCO_USERNAME="your_username" \
|
|
-e DUCO_MINING_KEY="your_key" \
|
|
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)
|
|
|
|
```bash
|
|
docker run -d \
|
|
-e DUCO_USERNAME="your_username" \
|
|
-e DUCO_MINING_KEY="your_mining_key" \
|
|
-e DUCO_INTENSITY="95" \
|
|
-e DUCO_THREADS="1" \
|
|
-e DUCO_START_DIFF="MEDIUM" \
|
|
-e DUCO_DONATE="5" \
|
|
-e DUCO_IDENTIFIER="Auto" \
|
|
-e DUCO_ALGORITHM="DUCO-S1" \
|
|
-e DUCO_LANGUAGE="english" \
|
|
-e DUCO_SOC_TIMEOUT="20" \
|
|
-e DUCO_REPORT_SEC="300" \
|
|
-e DUCO_RASPI_LEDS="n" \
|
|
-e DUCO_RASPI_CPU_IOT="n" \
|
|
-e DUCO_DISCORD_RP="n" \
|
|
-e DUCO_DIR="/duino-coin/Duino-Coin PC Miner 4.3" \
|
|
/duino-coin-docker:latest
|
|
```
|
|
|
|
---
|
|
|
|
## Helm Chart
|
|
|
|
A **Helm chart** is available for Kubernetes deployment:
|
|
|
|
* [Duino-Miner Helm Chart](https://git.kopic.hr/tomislav/duino-miner-helm)
|