From dd26fd7de17360970b7f10c96baf2c5182faeef6 Mon Sep 17 00:00:00 2001 From: Apostolof Date: Sat, 28 Nov 2020 19:04:45 +0200 Subject: [PATCH] Update environment variable files --- docker/env/concordia.docker.env | 4 ++++ docker/env/contracts.docker.env | 16 +++++++++++++--- docker/env/contracts.example.env | 8 ++++---- 3 files changed, 21 insertions(+), 7 deletions(-) diff --git a/docker/env/concordia.docker.env b/docker/env/concordia.docker.env index b2cc799..1810795 100644 --- a/docker/env/concordia.docker.env +++ b/docker/env/concordia.docker.env @@ -1,3 +1,7 @@ # Variables needed in runtime (in browser) REACT_APP_RENDEZVOUS_HOST=rendezvous REACT_APP_RENDEZVOUS_PORT=9090 + +# If the rendezvous server is running on host use these instead +#REACT_APP_RENDEZVOUS_HOST=127.0.0.1 +#REACT_APP_RENDEZVOUS_PORT=9090 diff --git a/docker/env/contracts.docker.env b/docker/env/contracts.docker.env index e50ecef..b5a08c7 100644 --- a/docker/env/contracts.docker.env +++ b/docker/env/contracts.docker.env @@ -1,4 +1,14 @@ # Variables needed in runtime -MIGRATE_NETWORK=develop -DEVELOP_CHAIN_HOST=ganache -DEVELOP_CHAIN_PORT=8545 +MIGRATE_NETWORK=env +DEPLOY_CHAIN_HOST=ganache +DEPLOY_CHAIN_PORT=8545 + +TEST_CHAIN_HOST=ganache-test +TEST_CHAIN_PORT=8545 + +# If the blockchain is running on host use these instead +#DEPLOY_CHAIN_HOST=127.0.0.1 +#DEPLOY_CHAIN_PORT=8545 + +#TEST_CHAIN_HOST=127.0.0.1 +#TEST_CHAIN_PORT=8546 diff --git a/docker/env/contracts.example.env b/docker/env/contracts.example.env index bc98cca..3194b9c 100644 --- a/docker/env/contracts.example.env +++ b/docker/env/contracts.example.env @@ -1,7 +1,7 @@ # Variables needed in runtime -MIGRATE_NETWORK=develop -DEVELOP_CHAIN_HOST=xx.xxx.xxx.xxx -DEVELOP_CHAIN_PORT=8545 +MIGRATE_NETWORK=env +DEPLOY_CHAIN_HOST=xx.xxx.xxx.xxx +DEPLOY_CHAIN_PORT=8545 TEST_CHAIN_HOST=xx.xxx.xxx.xxx -TEST_CHAIN_PORT=8546 +TEST_CHAIN_PORT=8545