Giter Site home page Giter Site logo

simeononsecurity / docker-duino-coin Goto Github PK

View Code? Open in Web Editor NEW
7.0 3.0 2.0 36 KB

Dockerized Duino-Coin Miner

Home Page: https://simeononsecurity.com/other/mining-duinocoin-esp32-guide/#duino-coin-mining-on-raspberry-pi-and-x86-64-cpus

Dockerfile 48.98% Shell 51.02%
docker docker-container docker-image dockerfile duino-coin duino-coin-miner duinocoin

docker-duino-coin's Introduction

Dockerized Duino-Coin Miner

This repository contains a Dockerized version of the Duino-Coin Miner.

Docker Image CI

Docker Hub Image simeononsecurity/duinocoin

simeononsecurity.com website

Docker Container

Build or Pull the Docker Image

Build

git clone https://github.com/simeononsecurity/docker-duino-coin.git
cd duino-coin
docker build -t duinocoin .

Pull

docker pull simeononsecurity/duinocoin

Run the Docker Container with Docker Run

docker run -td --name duco-container --restart unless-stopped \
  -e DUCO_USERNAME="your_actual_username_or_walletname" \
  -e DUCO_MINING_KEY="your_actual_mining_key" \
  duinocoin

Docker Run Example with Configurable Options

# Build the Docker Image
docker build -t duinocoin .

# Run the Docker Container with Custom Configuration
docker run -td --name duco-container --restart unless-stopped \
  -e DUCO_USERNAME="your_actual_username_or_walletname" \
  -e DUCO_MINING_KEY="your_actual_mining_key" \
  -e DUCO_INTENSITY=50 \
  -e DUCO_THREADS=2 \
  -e DUCO_START_DIFF="MEDIUM" \
  -e DUCO_DONATE=1 \
  -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" \
  duinocoin

Run the Docker Container with Docker Compose

Create the docker compose file

nano docker-compose.yml

Copy and past into the docker-compose.yaml file in your editor

version: '3'
services:
  duco-container:
    image: simeononsecurity/duinocoin
    container_name: duco-container
    restart: unless-stopped
    environment:
      - DUCO_USERNAME=your_actual_username_or_walletname
      - DUCO_MINING_KEY=your_actual_mining_key
      - DUCO_INTENSITY=50 
      - DUCO_THREADS=2 
      - DUCO_START_DIFF="MEDIUM" 
      - DUCO_DONATE=1 
      - DUCO_IDENTIFIER="Auto" 
      - DUCO_ALGORITHM="DUCO-S1" 
      - DUCO_LANGUAGE="english" 
      - DUCO_SOC_TIMEOUT=20 
      - DUCO_REPORT_SEC=300 
      - DUCO_RASPI_LEDS="n" 
      - DUCO_RASPI_CPU_IOT="n" 
      - DUCO_DISCORD_RP="n" 
Run the file
docker-compose up -d

Feel free to adjust the environment variables as needed for your mining preferences. The example includes some commonly used options, and you can refer to the Duino-Coin README for more details on available configurations.

If you have any questions or need further assistance, don't hesitate to reach out!

docker-duino-coin's People

Contributors

simeononsecurity avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.