Skip to content

Commit

Permalink
mainnet and testnet container name (rooch-network#2662)
Browse files Browse the repository at this point in the history
  • Loading branch information
yourmoonlight authored Sep 20, 2024
1 parent 14a9dae commit f089dfe
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/deploy_rooch_mainnet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ docker image prune -a -f
docker ps | grep rooch | grep -v faucet | awk '{print $1}' | xargs -r docker stop
docker ps -a | grep rooch | grep -v faucet | awk '{print $1}' | xargs -r docker rm -f
docker pull "ghcr.io/rooch-network/rooch:$REF"
docker run -d --name rooch --restart unless-stopped -v /data:/root -p 6767:6767 -p 9184:9184 -e RUST_BACKTRACE=full "ghcr.io/rooch-network/rooch:$REF" \
docker run -d --name rooch-mainnet --restart unless-stopped -v /data:/root -p 6767:6767 -p 9184:9184 -e RUST_BACKTRACE=full "ghcr.io/rooch-network/rooch:$REF" \
server start -n main \
--btc-rpc-url "$BTC_MAIN_RPC_URL" \
--btc-rpc-username rooch-main \
Expand Down
2 changes: 1 addition & 1 deletion scripts/deploy_rooch_testnet.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ docker image prune -a -f
docker ps | grep rooch | grep -v faucet | awk '{print $1}' | xargs -r docker stop
docker ps -a | grep rooch | grep -v faucet | awk '{print $1}' | xargs -r docker rm -f
docker pull "ghcr.io/rooch-network/rooch:$REF"
docker run -d --name rooch --restart unless-stopped -v /data:/root -p 6767:6767 -p 9184:9184 -e RUST_BACKTRACE=full "ghcr.io/rooch-network/rooch:$REF" \
docker run -d --name rooch-testnet --restart unless-stopped -v /data:/root -p 6767:6767 -p 9184:9184 -e RUST_BACKTRACE=full "ghcr.io/rooch-network/rooch:$REF" \
server start -n test \
--btc-rpc-url "$BTC_TEST_RPC_URL" \
--btc-rpc-username rooch-test \
Expand Down

0 comments on commit f089dfe

Please sign in to comment.