mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 20:29:23 +00:00
fix for monero docker
This commit is contained in:
@@ -2,15 +2,13 @@
|
|||||||
# Setup Environment
|
# Setup Environment
|
||||||
RPC_USER="${RPC_USER:=serai}"
|
RPC_USER="${RPC_USER:=serai}"
|
||||||
RPC_PASS="${RPC_PASS:=seraidex}"
|
RPC_PASS="${RPC_PASS:=seraidex}"
|
||||||
MINER="${MINER:=xmraddr}"
|
|
||||||
BLOCK_TIME=${BLOCK_TIME:=5}
|
BLOCK_TIME=${BLOCK_TIME:=5}
|
||||||
|
|
||||||
|
|
||||||
# Run Monero
|
# Run Monero
|
||||||
monerod --regtest --rpc-login ${RPC_USER}:${RPC_PASS} \
|
monerod --regtest --rpc-login ${RPC_USER}:${RPC_PASS} \
|
||||||
--rpc-access-control-origins * --rpc-bind-ip=0.0.0.0 --offline \
|
--rpc-access-control-origins * --confirm-external-bind \
|
||||||
--fixed-difficulty=1 --non-interactive --start-mining ${MINER} \
|
--rpc-bind-ip=0.0.0.0 --offline --fixed-difficulty=1 \
|
||||||
--mining-threads 1 --bg-mining-enable --detach
|
--non-interactive --mining-threads 1 --bg-mining-enable --detach
|
||||||
|
|
||||||
# give time to monerod to start
|
# give time to monerod to start
|
||||||
while true; do
|
while true; do
|
||||||
|
|||||||
Reference in New Issue
Block a user