mirror of
https://github.com/sethforprivacy/p2pool-docker.git
synced 2026-06-24 12:42:41 -04:00
699b578ee7016f3f2fae4e213f94cc28d6f13d61
Reliability (catch a bad image revision before prod): - Smoke-test the exact pushed digest in update-image-on-push.yml BEFORE the merge job tags it 'latest' (previously the prod artifact was never run). - Assert the p2pool banner reports the pinned P2POOL_BRANCH tag, and verify the container starts and stays up, instead of just sleeping 30s. Hardening: - Least-privilege 'permissions:' blocks (default contents: read; packages: write only on push/merge jobs; repo default token is currently write-all). - Concurrency groups (cancel superseded PR builds; serialize prod pushes). - persist-credentials: false on checkout; timeout-minutes on jobs. Build cache: - cache-to registry buildcache (mode=max, per-arch); read buildcache + latest. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
p2pool-docker
A simple and straightforward Dockerized p2pool built from source and exposing standard ports.
Actions
Docker Hub
This repo is used to build the images available here on GHCR.
Tags
latest: The daily rebuild from source at https://github.com/SChernykh/p2pool
Recommended usage
NOTE: Remember to replace the host address with your own node (if desired) as well as the Monero address for the --wallet flag, or else you'll be making a kind hashrate donation to me.
docker run -d --name="p2pool" -p 3333:3333 -p 37889:37889 -v p2pool-data:/home/p2pool -v /dev/hugepages:/dev/hugepages:rw ghcr.io/sethforprivacy/p2pool:latest --host 5.9.120.18 --rpc-port 18089 --wallet 468ydghFfthE3UTc53eF5MP9UyrMcUiAHP5kizVYJsej5XGaXBoAAEzUHCcUF7t3E3RrYAX8Rs1ujhBdcvMpZSbH8qkb55R --stratum 0.0.0.0:3333 --p2p 0.0.0.0:37889 --addpeers 65.21.227.114:37889,node.sethforprivacy.com:37889
Copyrights
Code from this repository is released under MIT license. Monero License, @leonardochaia License
Credits
The base for the Dockerfile was pulled from:
Languages
Dockerfile
100%