mirror of
https://github.com/serai-dex/serai.git
synced 2025-12-08 20:29:23 +00:00
Cluster Orchestration with Docker Compose (#114)
* add file * builds + caching fixed * bitcoin orchestration * remove default entrypoint * eth image and cleanup * working monero * remove signature file * cleanup on aisle eth * cleanup on aisle btc * eth working * remove docker ignore * remove bitcoin image readme * fix serai builds * serai clusters * added readme for docker * formatting * share the image * newlines at EOF * add multi profile example * coin order * coin order * profile order * fix grammar * fix whitespace * reduce trusted signature set, require at least 3 signatures. * remove echo * update comment to ref trusted keys * comment fix * use 16 keys, check for laanwj, name compose * don't use bash * monero fingerprints & eth fixes * eth fixes * remove extra eth keys
This commit is contained in:
20
deploy/coins/monero/scripts/entry-dev.sh
Normal file
20
deploy/coins/monero/scripts/entry-dev.sh
Normal file
@@ -0,0 +1,20 @@
|
||||
#!/bin/sh
|
||||
# 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
|
||||
|
||||
# give time to monerod to start
|
||||
while true; do
|
||||
sleep 5
|
||||
done
|
||||
|
||||
# Create wallet from PRIV_KEY in monero wallet
|
||||
Reference in New Issue
Block a user