Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/simeononsecurity/docker-duino-coin
- Owner: simeononsecurity
- Created: 2023-11-29T17:14:19.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-17T16:02:43.000Z (4 months ago)
- Last Synced: 2024-09-17T20:10:38.438Z (4 months ago)
- Topics: docker, docker-container, docker-image, dockerfile, duino-coin, duino-coin-miner, duinocoin
- Language: Shell
- Homepage: https://simeononsecurity.com/other/mining-duinocoin-esp32-guide/#duino-coin-mining-on-raspberry-pi-and-x86-64-cpus
- Size: 57.6 KB
- Stars: 8
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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!