Files
duino-coin-docker/Readme.md
2025-09-13 12:32:47 +00:00

71 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
```
---
## 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
### Basic usage
```bash
docker run -d \
-e DUCO_USERNAME="your_username" \
-e DUCO_MINING_KEY="your_key" \
/duino-coin-docker:latest
```
### Advanced usage (all available environment variables)
```bash
docker run -d \
-e DUCO_USERNAME="your_username" \
-e DUCO_MINING_KEY="your_base64_encoded_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)