Fix a few mentions of monerod to p2pool

This commit is contained in:
sethsimmons
2021-09-07 13:11:12 -04:00
parent 7a78a00d7b
commit fe99787778
2 changed files with 5 additions and 5 deletions

View File

@@ -38,11 +38,11 @@ RUN apt-get update \
&& apt-get clean \
&& 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
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
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 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"]
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"]

View File

@@ -26,7 +26,7 @@ https://hub.docker.com/r/sethsimmons/p2pool
# Recommended usage
```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