You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
p2pool-wow/docker-compose
Blade Doyle 862e7d965b
Monero latest release supports p2pool
3 years ago
..
monero Monero latest release supports p2pool 3 years ago
xmrig docker-compose project for Monero P2Pool and all requirements 3 years ago
.env Monero latest release supports p2pool 3 years ago
README.md Monero latest release supports p2pool 3 years ago
docker-compose.yml Monero latest release supports p2pool 3 years ago

README.md

Monero P2Pool Docker Compose

Run your own Monero Node + P2Pool + XMRig in Docker

Instructions

Install docker and docker-compose

Install Docker
Install Docker Compose

Clone the P2Pool project

git clone --recursive https://github.com/SChernykh/p2pool

Configure your Monero address for mining rewards

cd p2pool/docker-compose
vi .env

WALLET_ADDRESS is the only setting that needs to be updated in that file

Build the docker containers

docker-compose build

Run the node, pool, and CPU miner

docker-compose up

Optional

  • Open ports 18080 (Monero p2p port) and 37889 (P2Pool p2p port) in your firewall to ensure better connectivity. If you're mining from a computer behind NAT (like a router) you could consider forwarding the ports to your local machine
  • An XMRig CPU miner is included by default, but you can connect additional miners to this same p2pool node using port 3333
  • Configure your kernel for maximum mining performance: XMRig RandomX Optimization Guide

Other usefull commands

  • You can run everythng in the background by adding the "-d" argument to the "docker-compose up" command: docker-compose up -d
  • You can stop everything with CTRL-C or docker-compose down
  • You can see logs when running in the background for with the "docker logs" command: docker logs -f p2pool-xmrig or docker logs -f p2pool-p2pool or docker logs -f p2pool-monero

Uninstall

Change to p2pool/docker-compose directory Stop and remove all containers: docker-compose down Remove the p2pool data: docker volume rm p2pool Remove the monero data: docker volume rm monero