Remove quotes
This commit is contained in:
36
Readme.md
Normal file
36
Readme.md
Normal 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 .
|
||||
```
|
@@ -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}
|
||||
|
Reference in New Issue
Block a user