From e834efdcc5ec1beacfc9e042c9c672c2f8820f05 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tomislav=20Kopi=C4=87?= Date: Sat, 13 Sep 2025 13:57:56 +0200 Subject: [PATCH] Remove quotes --- Readme.md | 36 ++++++++++++++++++++++++++++++++++++ entrypoint.sh | 4 ++-- 2 files changed, 38 insertions(+), 2 deletions(-) create mode 100644 Readme.md diff --git a/Readme.md b/Readme.md new file mode 100644 index 0000000..fc09414 --- /dev/null +++ b/Readme.md @@ -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 . +``` diff --git a/entrypoint.sh b/entrypoint.sh index 532fcb5..c2d23b0 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -18,8 +18,8 @@ mkdir -p "$DUCO_DIR" # Generate the Settings.cfg using environment variables or defaults cat > "$DUCO_DIR/Settings.cfg" <