fix for monero docker

This commit is contained in:
vrx00 2022-10-16 04:21:00 +02:00 committed by Luke Parker
parent 9d376d29e1
commit f50148d17a

View file

@ -2,15 +2,13 @@
# Setup Environment
RPC_USER="${RPC_USER:=serai}"
RPC_PASS="${RPC_PASS:=seraidex}"
MINER="${MINER:=xmraddr}"
BLOCK_TIME=${BLOCK_TIME:=5}
# Run Monero
monerod --regtest --rpc-login ${RPC_USER}:${RPC_PASS} \
--rpc-access-control-origins * --rpc-bind-ip=0.0.0.0 --offline \
--fixed-difficulty=1 --non-interactive --start-mining ${MINER} \
--mining-threads 1 --bg-mining-enable --detach
--rpc-access-control-origins * --confirm-external-bind \
--rpc-bind-ip=0.0.0.0 --offline --fixed-difficulty=1 \
--non-interactive --mining-threads 1 --bg-mining-enable --detach
# give time to monerod to start
while true; do