mirror of
https://github.com/sethforprivacy/p2pool-docker.git
synced 2025-12-07 00:02:37 -05:00
Fix a few mentions of monerod to p2pool
This commit is contained in:
@@ -38,11 +38,11 @@ RUN apt-get update \
|
|||||||
&& apt-get clean \
|
&& apt-get clean \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
# Add user and setup directories for monerod
|
# Add user and setup directories for p2pool
|
||||||
RUN useradd -ms /bin/bash p2pool
|
RUN useradd -ms /bin/bash p2pool
|
||||||
USER p2pool
|
USER p2pool
|
||||||
|
|
||||||
# Switch to home directory and install newly built monerod binary
|
# Switch to home directory and install newly built p2pool binary
|
||||||
WORKDIR /home/p2pool
|
WORKDIR /home/p2pool
|
||||||
COPY --chown=p2pool:p2pool --from=build /p2pool/build/p2pool /usr/local/bin/p2pool
|
COPY --chown=p2pool:p2pool --from=build /p2pool/build/p2pool /usr/local/bin/p2pool
|
||||||
|
|
||||||
@@ -50,6 +50,6 @@ COPY --chown=p2pool:p2pool --from=build /p2pool/build/p2pool /usr/local/bin/p2po
|
|||||||
EXPOSE 3333
|
EXPOSE 3333
|
||||||
EXPOSE 37889
|
EXPOSE 37889
|
||||||
|
|
||||||
# Start monerod with required --non-interactive flag and sane defaults that are overridden by user input (if applicable)
|
# Start p2pool with required --non-interactive flag and sane defaults that are overridden by user input (if applicable)
|
||||||
ENTRYPOINT ["p2pool"]
|
ENTRYPOINT ["p2pool"]
|
||||||
CMD ["--host monerod", "--stratum 0.0.0.0:3333", "--p2p 0.0.0.0:37889", "--addpeers 65.21.227.114:37889", "--addpeers node.sethforprivacy.com:37889"]
|
CMD ["--host p2pool", "--stratum 0.0.0.0:3333", "--p2p 0.0.0.0:37889", "--addpeers 65.21.227.114:37889", "--addpeers node.sethforprivacy.com:37889"]
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ https://hub.docker.com/r/sethsimmons/p2pool
|
|||||||
# Recommended usage
|
# Recommended usage
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker run -d --name="p2pool" -p 3333:3333 -p 37889:37889 -v p2pool-data:/home/p2pool sethsimmons/p2pool:latest --host node.sethforprivacy.com --rpc-port 18089 --wallet MoneroAddress --stratum 0.0.0.0:3333 --p2p 0.0.0.0:37889 --addpeers 65.21.227.114:37889
|
docker run -d --name="p2pool" -p 3333:3333 -p 37889:37889 -v p2pool-data:/home/p2pool sethsimmons/p2pool:latest --host node.sethforprivacy.com --rpc-port 18089 --wallet MoneroAddress --stratum 0.0.0.0:3333 --p2p 0.0.0.0:37889 --addpeers 65.21.227.114:37889 --addpeers node.sethforprivacy.com:37889
|
||||||
```
|
```
|
||||||
|
|
||||||
# Copyrights
|
# Copyrights
|
||||||
|
|||||||
Reference in New Issue
Block a user