1
0
mirror of https://github.com/oceanprotocol/barge.git synced 2024-12-02 05:57:21 +01:00

more ganache options

This commit is contained in:
alexcos20 2020-07-06 10:18:07 -07:00
parent 76477e8301
commit 90839158ab
2 changed files with 4 additions and 4 deletions

View File

@ -7,4 +7,4 @@ services:
networks: networks:
backend: backend:
ipv4_address: 172.15.0.3 ipv4_address: 172.15.0.3
entrypoint: ["node", "/app/ganache-core.docker.cli.js","--networkId","0x2324","--gasLimit","10000000000","--gasPrice","1","---hardfork","istanbul","--mnemonic","${GANACHE_MNEMONIC}"]

View File

@ -26,7 +26,7 @@ COMPOSE_DIR="${DIR}/compose-files"
# Default versions of Aquarius, Brizo, Keeper Contracts and Commons # Default versions of Aquarius, Brizo, Keeper Contracts and Commons
export AQUARIUS_VERSION=${AQUARIUS_VERSION:-v3} export AQUARIUS_VERSION=${AQUARIUS_VERSION:-v3}
export PROVIDER_VERSION=${PROVIDER_VERSION:-phase2} export PROVIDER_VERSION=${PROVIDER_VERSION:-alex}
export PROJECT_NAME="ocean" export PROJECT_NAME="ocean"
export FORCEPULL="false" export FORCEPULL="false"
@ -34,14 +34,14 @@ export FORCEPULL="false"
# Specify the ethereum default RPC container provider # Specify the ethereum default RPC container provider
if [ ${IP} = "localhost" ]; then if [ ${IP} = "localhost" ]; then
export KEEPER_RPC_HOST="keeper-node" export KEEPER_RPC_HOST="ganache"
else else
export KEEPER_RPC_HOST=${IP} export KEEPER_RPC_HOST=${IP}
fi fi
export KEEPER_RPC_PORT="8545" export KEEPER_RPC_PORT="8545"
export KEEPER_RPC_URL="http://"${KEEPER_RPC_HOST}:${KEEPER_RPC_PORT} export KEEPER_RPC_URL="http://"${KEEPER_RPC_HOST}:${KEEPER_RPC_PORT}
# Use this seed only on Spree! (Spree is the default.) # Use this seed only on Spree! (Spree is the default.)
export KEEPER_MNEMONIC="taxi music thumb unique chat sand crew more leg another off lamp" export GANACHE_MNEMONIC=${GANACHE_MNEMONIC:-"taxi music thumb unique chat sand crew more leg another off lamp"}
# Default Aquarius parameters: use Elasticsearch # Default Aquarius parameters: use Elasticsearch