diff --git a/compose-files/brizo.yml b/compose-files/brizo.yml index 1f03575..5495d3a 100644 --- a/compose-files/brizo.yml +++ b/compose-files/brizo.yml @@ -11,7 +11,7 @@ services: - keeper-contracts - parity-node environment: - KEEPER_URL: http://parity-node:8545 + KEEPER_URL: http://${RPC_URL}:8545 LOCAL_CONTRACTS: "true" KEEPER_NETWORK_NAME: ${KEEPER_NETWORK_NAME} AQUARIUS_URL: http://aquarius:5000 diff --git a/start_ocean.sh b/start_ocean.sh index f8397a5..8d73594 100755 --- a/start_ocean.sh +++ b/start_ocean.sh @@ -11,6 +11,8 @@ export REUSE_DATABASE="false" export KEEPER_NETWORK_NAME="ganache" export ARTIFACTS_FOLDER=$HOME/.ocean/keeper-contracts/artifacts export BRIZO_ENV_FILE=$DIR/brizo.env +# Specify the ethereum default RPC container provider +RPC_URL='keeper-contracts' # colors COLOR_R="\033[0;31m" # red @@ -59,6 +61,7 @@ while :; do --local-parity-node) COMPOSE_FILES+=" -f ${COMPOSE_DIR}/parity_client.yml" COMPOSE_FILES+=" -f ${COMPOSE_DIR}/secret_store.yml" + RPC_URL='parity-node' export KEEPER_NETWORK_NAME="ocean_poa_net_local" printf $COLOR_Y'Starting with local Parity node...\n\n'$COLOR_RESET ;;