Fix Heat Health Check

Fix NEXUS_DOCKER_REPO variable

Issue-ID: VNFSDK-252

Change-Id: Ie6577bcdd6c0639070326721d7b351e934950c10
Signed-off-by: Murali-P <murali.p@huawei.com>
diff --git a/vnfmarket-be/deployment/install/.env b/vnfmarket-be/deployment/install/.env
index 637d667..6f7aa33 100644
--- a/vnfmarket-be/deployment/install/.env
+++ b/vnfmarket-be/deployment/install/.env
@@ -6,7 +6,9 @@
 REFREPO_TAG=1.1-STAGING-latest
 POSTGRES_TAG=latest
 
-NEXUS_REPO=nexus3.onap.org:10001
+if [ -z "${NEXUS_DOCKER_REPO}" ]; then
+NEXUS_DOCKER_REPO=nexus3.onap.org:10001
+fi
 
 export MTU=$(/sbin/ifconfig | grep MTU | sed 's/.*MTU://' | sed 's/ .*//' | sort -n | head -1)
 
diff --git a/vnfmarket-be/deployment/install/docker-compose.yml b/vnfmarket-be/deployment/install/docker-compose.yml
index 7ca0b51..db6207d 100644
--- a/vnfmarket-be/deployment/install/docker-compose.yml
+++ b/vnfmarket-be/deployment/install/docker-compose.yml
@@ -9,7 +9,7 @@
     postgres:
         container_name: "postgres"
         restart: "always"
-        image: "${NEXUS_REPO}/onap/vnfsdk/refrepo/postgres:${POSTGRES_TAG}"
+        image: "${NEXUS_DOCKER_REPO}/onap/vnfsdk/refrepo/postgres:${POSTGRES_TAG}"
         mem_limit: "1g"
         memswap_limit: "1g"
         ports:
@@ -20,7 +20,7 @@
     refrepo:
         container_name: "refrepo"
         restart: "always"
-        image: "${NEXUS_REPO}/onap/vnfsdk/refrepo:${REFREPO_TAG}"
+        image: "${NEXUS_DOCKER_REPO}/onap/vnfsdk/refrepo:${REFREPO_TAG}"
         ports:
             - "8702-8703:8702-8703"
             - "8000:8000"