Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/simeononsecurity/docker-duino-coin

Dockerized Duino-Coin Miner
https://github.com/simeononsecurity/docker-duino-coin

docker docker-container docker-image dockerfile duino-coin duino-coin-miner duinocoin

Last synced: 2 months ago
JSON representation

Dockerized Duino-Coin Miner

Awesome Lists containing this project

README

        

# Dockerized Duino-Coin Miner

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

[![Sponsor](https://img.shields.io/badge/Sponsor-Click%20Here-ff69b4)](https://github.com/sponsors/simeononsecurity) [![Docker Image CI](https://github.com/simeononsecurity/docker-duino-coin/actions/workflows/docker-image.yml/badge.svg)](https://github.com/simeononsecurity/docker-duino-coin/actions/workflows/docker-image.yml)[![Docker Hub Image simeononsecurity/duinocoin](https://img.shields.io/badge/DockerHub-Image-blue)](https://hub.docker.com/r/simeononsecurity/duinocoin)[![simeononsecurity.com website](https://img.shields.io/badge/SimeonOnSecurity-Website-Gray)](https://simeononsecurity.com)
## Docker Container

### Build or Pull the Docker Image

#### Build

```bash
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

```bash
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

```bash
# 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
```dockerfile
version: '3'
services:
duco-container:
image: simeononsecurity/duinocoin:latest
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 # Adjusted the language key if needed
- DUCO_SOC_TIMEOUT=20
- DUCO_REPORT_SEC=300
- DUCO_RASPI_LEDS=n
- DUCO_RASPI_CPU_IOT=n
- DUCO_DISCORD_RP=n
```

##### Run the file
```bash
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](https://github.com/revoxhere/duino-coin) for more details on available configurations.

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