Sign inSign up

ofyxp/rpi2-xmrig-proxy

By ofyxp

•Updated almost 6 years ago

XMRig proxy in RPi2(armhf)

Image
0

2.1K

ofyxp/rpi2-xmrig-proxy repository overview

⁠Basic run

  • docker container run --rm -d --name xmrig-proxy -v ./config.json:/conf/config.json -p 3333:3333 ofyxp/rpi2-xmrig-proxy
  • docker container run --rm -d --name xmrig-proxy -p 3333:3333 ofyxp/rpi2-xmrig-proxy -o POOL:PORT -u USER -p x -b 0.0.0.0:3333

⁠Options

  -b, --bind=ADDR          bind to specified address, example "0.0.0.0:3333"
  -a, --algo=ALGO          mining algorithm https://xmrig.com/docs/algorithms
      --coin=COIN          specify coin instead of algorithm
  -m, --mode=MODE          proxy mode, nicehash (default) or simple
  -o, --url=URL            URL of mining server
  -O, --userpass=U:P       username:password pair for mining server
  -u, --user=USERNAME      username for mining server
  -p, --pass=PASSWORD      password for mining server
  -r, --retries=N          number of times to retry before switch to backup server (default: 1)
  -R, --retry-pause=N      time to pause between retries (default: 1 second)
      --custom-diff=N      override pool diff
      --reuse-timeout=N    timeout in seconds for reuse pool connections in simple mode
      --verbose            verbose output
      --user-agent=AGENT   set custom user-agent string for pool
      --no-color           disable colored output
      --no-workers         disable per worker statistics
      --variant            algorithm PoW variant
      --donate-level=N     donate level, default 2%
  -B, --background         run the miner in the background
  -c, --config=FILE        load a JSON-format configuration file
      --no-watch           disable configuration file watching
  -l, --log-file=FILE      log all output to a file
  -S, --syslog             use system log for output messages
  -A  --access-log-file=N  log all workers access to a file
      --api-port=N         port for the miner API
      --api-access-token=T use Bearer access token for API
      --api-worker-id=ID   custom worker-id for API
      --api-no-ipv6        disable IPv6 support for API
      --api-no-restricted  enable full remote access (only if API token set)
      --tls                enable SSL/TLS support for pool connection (needs pool support)
      --tls-bind=ADDR      bind to specified address with enabled TLS
      --tls-cert=FILE      load TLS certificate chain from a file in the PEM format
      --tls-cert-key=FILE  load TLS certificate private key from a file in the PEM format
      --tls-dhparam=FILE   load DH parameters for DHE ciphers from a file in the PEM format
      --tls-protocols=N    enable specified TLS protocols, example: "TLSv1 TLSv1.1 TLSv1.2 TLSv1.3"
      --tls-ciphers=S      set list of available ciphers (TLSv1.2 and below)
      --tls-ciphersuites=S set list of available TLSv1.3 ciphersuites 
  -h, --help               display this help and exit
  -V, --version            output version information and exit

Tag summary

Content type

Image

Digest

Size

1.2 MB

Last updated

almost 6 years ago

docker pull ofyxp/rpi2-xmrig-proxy