Giter VIP home page Giter VIP logo

xmr-stak-cpu-alpine's Introduction

XMR-Stak - CPU only - Alpine container

Estimated container size >= 73MB

Table of Contents

  1. Overview
  2. Description
  3. Setup
  4. Usage

Overview

XMR-Stak is a universal Stratum pool miner. This container is Alpine based and supports only CPUs to mine the crypto currency Monero and Aeon.

Notices

This container is build and has been tested for:

Description

Docker Alpine build for XMR-Stak CPU only mining, has all configuration settings available as environment variables.

Setup

Environment variables

Following environment variables are required:

  • WALLET_ADDRESS - Your wallet, or pool login.

Then, run the commands to build and run the Docker image:

docker build -t xmr-stak-cpu-alpine .
docker run -dit --name my-running-miner -e WALLET_ADDRESS=45yZKa xmr-stak-cpu-alpine

Following environment variables are optional:

POOL_ADDRESS          - Default: pool.supportxmr.com:3333
POOL_PASSWORD         - Default: x
USE_NICEHASH          - Default: true
USE_TLS               - Default: false
TLS_FINGERPRINT       - Optional
POOL_WEIGHT           - Default: 1
CURRENCY              - Default: monero
CALL_TIMEOUT          - Default: 10
RETRY_TIME            - Default: 30
GIVEUP_LIMIT          - Default: 0
VERBOSE_LEVEL         - Default: 4
PRINT_MOTD            - Default: true
H_PRINT_TIME          - Default: 60
AES_OVERRIDE          - Default: null
USE_SLOW_MEMORY       - Default: warn
TLS_SECURE_ALGO       - Default: true
DAEMON_MODE           - Default: false
FLUSH_STDOUT          - Default: true
OUTPUT_FILE           - Optional
HTTPD_PORT            - Optional
HTTP_LOGIN            - Optional
HTTP_PASS             - Optional
PREFER_IPV4           - Default: true
CUSTOM_CPU            - Default: false
THREADS               - Default: 1
NO_PREFETCH           - Default: true
LOW_POWER_MODE        - Default: false
AFFINE_TO_CPU         - Default: false

httpd

To enable the built-in web server:

  • HTTPD_PORT

Then, run the commands to run the Docker image:

docker run -dit --name my-running-miner \
        -p 8080:8080 \
        -e WALLET_ADDRESS=45yZKa \
        -e HTTPD_PORT=8080 \
        xmr-stak-cpu-alpine

Usage

Quick way to build your custom build, is to modify run.sh and then export environment variables.

#!/bin/sh
export WALLET_ADDRESS=45yZKa
export CUSTOM_CPU=true
export USE_SLOW_MEMORY=no_mlck

...

exec xmr-stak

Docker Compose

xmr-stak-cpu-alpine:
  restart: on-failure
  image: xmr-stak-cpu-alpine
  ports:
    - 8080:8080
  environment:
    WALLET_ADDRESS: 45yZKa
    HTTPD_PORT: 8080

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.