diff --git a/Readme.md b/Readme.md index a161b58..9d05db9 100644 --- a/Readme.md +++ b/Readme.md @@ -5,27 +5,6 @@ Docker image for running the **Duino-Coin PC Miner**, optimized for SBCs (e.g., ```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 @@ -36,7 +15,21 @@ docker build -t duino-coin-docker . docker run -d \ -e DUCO_USERNAME="your_username" \ -e DUCO_MINING_KEY="your_key" \ - /duino-coin-docker:latest + 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) @@ -44,7 +37,7 @@ docker run -d \ ```bash docker run -d \ -e DUCO_USERNAME="your_username" \ - -e DUCO_MINING_KEY="your_base64_encoded_key" \ + -e DUCO_MINING_KEY="your_mining_key" \ -e DUCO_INTENSITY="95" \ -e DUCO_THREADS="1" \ -e DUCO_START_DIFF="MEDIUM" \