From 75241d4ffe3eef22c6bce3ff3fa2ff2ea9bd6c44 Mon Sep 17 00:00:00 2001 From: Abram Symons Date: Sat, 26 Dec 2020 12:39:47 +0330 Subject: [PATCH] hard code ports in docker-compose.yml --- config.env | 2 ++ docker-compose.yml | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/config.env b/config.env index 95ed4383..6eb16df9 100644 --- a/config.env +++ b/config.env @@ -2,9 +2,11 @@ BN_WS_IP= BN_WS_PUBLIC_KEY= BN_WS_PRIVATE_KEY= BN_WS_ETH_PRIVATE_KEY= +# Update this port in web/brightid-nginx.conf and docker-compose.yml too BN_WS_PROFILE_SERVICE_PORT=3000 BN_ARANGO_PROTOCOL=http BN_ARANGO_HOST=localhost +# Update this port in web/brightid-nginx.conf and docker-compose.yml too BN_ARANGO_PORT=8529 BN_ARANGO_SERVER_ENDPOINT=tcp://127.0.0.1:8529 BN_CONSENSUS_INFURA_URL=wss://idchain.one/ws/ diff --git a/docker-compose.yml b/docker-compose.yml index ee5751cc..4c37c068 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -9,7 +9,7 @@ services: env_file: - config.env expose: - - $BN_WS_PROFILE_SERVICE_PORT + - 3000 scorer: build: scorer @@ -74,7 +74,7 @@ services: environment: - INIT_BRIGHTID_DB expose: - - $BN_ARANGO_PORT + - 8529 web: image: nginx