fix(monero): disable mining
This commit is contained in:
parent
62cc5a37d7
commit
a53a904c82
@ -15,12 +15,12 @@ RUN curl -L "$MONERO" | tar xj --strip-components=1
|
|||||||
FROM base
|
FROM base
|
||||||
COPY --from=build /app/ .
|
COPY --from=build /app/ .
|
||||||
RUN useradd -m app
|
RUN useradd -m app
|
||||||
# Generate your wallet via accessing the container and run:
|
|
||||||
# cd /wallet
|
|
||||||
# monero-wallet-cli
|
|
||||||
RUN mkdir -p /home/app/.bitmonero/ /wallet/ \
|
RUN mkdir -p /home/app/.bitmonero/ /wallet/ \
|
||||||
&& chown -R app:app /home/app/ /wallet/
|
&& chown -R app:app /home/app/ /wallet/
|
||||||
VOLUME /home/app/.bitmonero/ /wallet/
|
VOLUME /home/app/.bitmonero/ /wallet/
|
||||||
EXPOSE 18080 18081
|
EXPOSE 18080 18081
|
||||||
USER app
|
USER app
|
||||||
CMD ["./monerod", "--p2p-bind-ip=0.0.0.0", "--p2p-bind-port=18080", "--rpc-bind-ip=0.0.0.0", "--rpc-bind-port=18081", "--non-interactive", "--confirm-external-bind"]
|
CMD ["./monerod", "--non-interactive", "--confirm-external-bind", \
|
||||||
|
"--p2p-bind-ip=0.0.0.0", "--p2p-bind-port=18080", \
|
||||||
|
"--rpc-bind-ip=0.0.0.0", "--rpc-bind-port=18081", "--restricted-rpc" \
|
||||||
|
]
|
||||||
|
Loading…
Reference in New Issue
Block a user