Remove quotes

This commit is contained in:
2025-09-13 13:57:56 +02:00
parent 985d1ba0c8
commit e834efdcc5
2 changed files with 38 additions and 2 deletions

36
Readme.md Normal file
View File

@@ -0,0 +1,36 @@
# Duino-Coin Docker
Docker image for running the **Duino-Coin PC Miner**, optimized for SBCs (e.g., Raspberry Pi, Orange Pi).
---
## 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
```
### 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
```bash
docker build -t duino-coin-docker .
```

View File

@@ -18,8 +18,8 @@ mkdir -p "$DUCO_DIR"
# Generate the Settings.cfg using environment variables or defaults
cat > "$DUCO_DIR/Settings.cfg" <<EOF
[PC Miner]
username="$DUCO_USERNAME"
mining_key="$ENCODED_KEY"
username=$DUCO_USERNAME
mining_key=$ENCODED_KEY
intensity=${DUCO_INTENSITY:-95}
threads=${DUCO_THREADS:-1}
start_diff=${DUCO_START_DIFF:-LOW}