From f5e1d702beb236095a74935ea38b69a55f404114 Mon Sep 17 00:00:00 2001 From: Dheeraj Manjunath Date: Wed, 1 Jun 2022 22:20:00 +0000 Subject: [PATCH 1/3] Remove default value from discoveryProviderWhitelist in creator-node --- creator-node/default-config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/creator-node/default-config.json b/creator-node/default-config.json index b542b3acd5f..c08f750f21d 100644 --- a/creator-node/default-config.json +++ b/creator-node/default-config.json @@ -31,7 +31,7 @@ "ethWallets": "", "spOwnerWalletIndex": 1, "spOwnerWallet": "", - "discoveryProviderWhitelist": "http://dn1_web-server_1:5000", + "discoveryProviderWhitelist": "", "identityService": "http://audius-identity-service_identity-service_1:7000", "dataRegistryAddress": "", "dataProviderUrl": "http://docker.for.mac.localhost:8545", From 219cb9f59433e1106440ab46c785007896c0a4a8 Mon Sep 17 00:00:00 2001 From: Dheeraj Manjunath Date: Wed, 1 Jun 2022 22:38:40 +0000 Subject: [PATCH 2/3] This is how you set discoveryProviderWhitelist locally --- creator-node/compose/docker-compose.yml | 1 + creator-node/compose/env/commonEnv.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/creator-node/compose/docker-compose.yml b/creator-node/compose/docker-compose.yml index 53abe9faa89..47444ff5709 100644 --- a/creator-node/compose/docker-compose.yml +++ b/creator-node/compose/docker-compose.yml @@ -30,6 +30,7 @@ services: - devMode=${DEV_MODE} - spOwnerWallet=${spOwnerWallet} - openRestyCacheCIDEnabled=${openRestyCacheCIDEnabled} + - discoveryProviderWhitelist=${discoveryProviderWhitelist} env_file: - ./env/base.env ports: diff --git a/creator-node/compose/env/commonEnv.sh b/creator-node/compose/env/commonEnv.sh index a4b2466878b..e292e7ca234 100644 --- a/creator-node/compose/env/commonEnv.sh +++ b/creator-node/compose/env/commonEnv.sh @@ -6,3 +6,4 @@ export creatorNodeEndpoint=CREATOR_NODE_ENDPOINT export spOwnerWallet=SP_OWNER_WALLET export COMPOSE_HTTP_TIMEOUT=200 export printSequelizeLogs=true +export discoveryProviderWhitelist=http://dn1_web-server_1:5000 From 93e0e17c44c09ae5e4b1fbc514ec0f3875e1b7d5 Mon Sep 17 00:00:00 2001 From: Dheeraj Manjunath Date: Wed, 1 Jun 2022 22:38:50 +0000 Subject: [PATCH 3/3] Revert "This is how you set discoveryProviderWhitelist locally" This reverts commit 219cb9f59433e1106440ab46c785007896c0a4a8. --- creator-node/compose/docker-compose.yml | 1 - creator-node/compose/env/commonEnv.sh | 1 - 2 files changed, 2 deletions(-) diff --git a/creator-node/compose/docker-compose.yml b/creator-node/compose/docker-compose.yml index 47444ff5709..53abe9faa89 100644 --- a/creator-node/compose/docker-compose.yml +++ b/creator-node/compose/docker-compose.yml @@ -30,7 +30,6 @@ services: - devMode=${DEV_MODE} - spOwnerWallet=${spOwnerWallet} - openRestyCacheCIDEnabled=${openRestyCacheCIDEnabled} - - discoveryProviderWhitelist=${discoveryProviderWhitelist} env_file: - ./env/base.env ports: diff --git a/creator-node/compose/env/commonEnv.sh b/creator-node/compose/env/commonEnv.sh index e292e7ca234..a4b2466878b 100644 --- a/creator-node/compose/env/commonEnv.sh +++ b/creator-node/compose/env/commonEnv.sh @@ -6,4 +6,3 @@ export creatorNodeEndpoint=CREATOR_NODE_ENDPOINT export spOwnerWallet=SP_OWNER_WALLET export COMPOSE_HTTP_TIMEOUT=200 export printSequelizeLogs=true -export discoveryProviderWhitelist=http://dn1_web-server_1:5000