mirror of
https://github.com/sethforprivacy/p2pool-docker.git
synced 2025-12-07 08:05:03 -05:00
Compare commits
33 Commits
df89ed309f
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
37d68bc1bd | ||
|
|
dae74873c4 | ||
|
|
d37c6f7bdf | ||
|
|
84ebde54dd | ||
|
|
e834b7e289 | ||
|
|
389cc18843 | ||
|
|
93c985963a | ||
|
|
8d209c335a | ||
|
|
2baed31844 | ||
|
|
c591b338f3 | ||
|
|
a1a95d5294 | ||
|
|
0bc7dba09d | ||
|
|
49019ab2f9 | ||
|
|
53c1baaaf2 | ||
|
|
1fdd47de76 | ||
|
|
f2a46b8a21 | ||
|
|
679ac1e87e | ||
|
|
cbf7fbfb7e | ||
|
|
382708175c | ||
|
|
e4d02db831 | ||
|
|
ef64a6db7d | ||
|
|
d3a1a704b8 | ||
|
|
8178e7df3e | ||
|
|
9b158c86c2 | ||
|
|
031bd91913 | ||
|
|
2bd817c6c2 | ||
|
|
b77b8d9d7c | ||
|
|
f34b0b4e7a | ||
|
|
77f6cd5311 | ||
|
|
9719c48897 | ||
|
|
2290ddb6b9 | ||
|
|
843f97b1cf | ||
|
|
6945b17b5d |
6
.github/workflows/build-image-on-push.yml
vendored
6
.github/workflows/build-image-on-push.yml
vendored
@@ -37,14 +37,14 @@ jobs:
|
||||
echo "DIGEST_NAME=amd64" >> $GITHUB_ENV
|
||||
-
|
||||
name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3.10.0
|
||||
uses: docker/setup-buildx-action@v3.11.1
|
||||
-
|
||||
name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v6
|
||||
-
|
||||
name: Test build of image
|
||||
id: build
|
||||
uses: docker/build-push-action@v6.17.0
|
||||
uses: docker/build-push-action@v6.18.0
|
||||
with:
|
||||
push: false
|
||||
load: true
|
||||
|
||||
18
.github/workflows/update-image-on-push.yml
vendored
18
.github/workflows/update-image-on-push.yml
vendored
@@ -40,20 +40,20 @@ jobs:
|
||||
${{ env.GHCR_REPO }}
|
||||
-
|
||||
name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3.10.0
|
||||
uses: docker/setup-buildx-action@v3.11.1
|
||||
-
|
||||
name: Login to GitHub Container Registry
|
||||
uses: docker/login-action@v3.4.0
|
||||
uses: docker/login-action@v3.6.0
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
-
|
||||
name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v6
|
||||
-
|
||||
name: Build and and push by digest
|
||||
uses: docker/build-push-action@v6.17.0
|
||||
uses: docker/build-push-action@v6.18.0
|
||||
id: build
|
||||
with:
|
||||
outputs: type=image,"name=${{ env.GHCR_REPO }}",push-by-digest=true,name-canonical=true,push=true
|
||||
@@ -68,7 +68,7 @@ jobs:
|
||||
touch "${{ runner.temp }}/digests/${digest#sha256:}"
|
||||
|
||||
- name: Upload digest
|
||||
uses: actions/upload-artifact@v4
|
||||
uses: actions/upload-artifact@v5
|
||||
with:
|
||||
name: digests-${{ env.DIGEST_NAME }}
|
||||
path: ${{ runner.temp }}/digests/*
|
||||
@@ -81,24 +81,24 @@ jobs:
|
||||
- build
|
||||
steps:
|
||||
- name: Download digests
|
||||
uses: actions/download-artifact@v4
|
||||
uses: actions/download-artifact@v6
|
||||
with:
|
||||
path: ${{ runner.temp }}/digests
|
||||
pattern: digests-*
|
||||
merge-multiple: true
|
||||
|
||||
- name: Login to GHCR
|
||||
uses: docker/login-action@v3.4.0
|
||||
uses: docker/login-action@v3.6.0
|
||||
with:
|
||||
registry: ghcr.io
|
||||
username: ${{ github.repository_owner }}
|
||||
password: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v3.10.0
|
||||
uses: docker/setup-buildx-action@v3.11.1
|
||||
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
uses: actions/checkout@v6
|
||||
|
||||
- name: Get p2pool release tag
|
||||
run: echo P2POOL_TAG="$(awk -F '=' '/P2POOL_BRANCH=/ {print $2}' Dockerfile)" >> $GITHUB_ENV
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
ARG P2POOL_BRANCH=v4.6
|
||||
ARG P2POOL_BRANCH=v4.12
|
||||
|
||||
# Select latest Ubuntu LTS for the build image base
|
||||
FROM ubuntu:latest as build
|
||||
|
||||
14
README.md
14
README.md
@@ -5,19 +5,9 @@ A simple and straightforward Dockerized [p2pool](https://github.com/SChernykh/p2
|
||||
|
||||
[](https://github.com/sethsimmons/p2pool-docker/actions/workflows/update-daily.yml)
|
||||
[](https://github.com/sethsimmons/p2pool-docker/actions/workflows/update-base-image.yml)
|
||||
[](https://github.com/sethsimmons/p2pool-docker/actions/workflows/update-image-on-push.yml)
|
||||
[](https://github.com/sethsimmons/p2pool-docker/actions/workflows/trivy-analysis.yml)
|
||||
|
||||
## Docker
|
||||
|
||||

|
||||

|
||||

|
||||
|
||||
# Docker Hub
|
||||
This repo is used to build the images available at:
|
||||
|
||||
https://hub.docker.com/r/sethsimmons/p2pool
|
||||
This repo is used to build the images available here on GHCR.
|
||||
|
||||
# Tags
|
||||
|
||||
@@ -28,7 +18,7 @@ https://hub.docker.com/r/sethsimmons/p2pool
|
||||
*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.*
|
||||
|
||||
```bash
|
||||
docker run -d --name="p2pool" -p 3333:3333 -p 37889:37889 -v p2pool-data:/home/p2pool -v /dev/hugepages:/dev/hugepages:rw sethsimmons/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
|
||||
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
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
version: '3.5'
|
||||
services:
|
||||
monerod:
|
||||
image: sethsimmons/simple-monerod:latest
|
||||
image: ghcr.io/sethforprivacy/simple-monerod:latest
|
||||
restart: unless-stopped
|
||||
container_name: monerod
|
||||
volumes:
|
||||
@@ -21,7 +20,7 @@ services:
|
||||
- "--out-peers=50"
|
||||
|
||||
p2pool:
|
||||
image: sethsimmons/p2pool:latest
|
||||
image: ghcr.io/sethforprivacy/p2pool:latest
|
||||
restart: unless-stopped
|
||||
container_name: p2pool
|
||||
tty: true
|
||||
@@ -52,15 +51,6 @@ services:
|
||||
volumes:
|
||||
- tor-keys:/var/lib/tor/hidden_service/
|
||||
|
||||
autoheal:
|
||||
image: willfarrell/autoheal:latest
|
||||
container_name: autoheal
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
AUTOHEAL_CONTAINER_LABEL: all
|
||||
volumes:
|
||||
- "/var/run/docker.sock:/var/run/docker.sock"
|
||||
|
||||
watchtower:
|
||||
image: containrrr/watchtower:latest
|
||||
container_name: watchtower
|
||||
|
||||
Reference in New Issue
Block a user