diff options
author | Murali-P <murali.p@huawei.com> | 2018-04-27 11:46:39 +0530 |
---|---|---|
committer | Murali-P <murali.p@huawei.com> | 2018-04-27 11:46:39 +0530 |
commit | 243dd9320bcaf4def0ef3f9cbf21eb0415263e6a (patch) | |
tree | 6fb957c070742bc04a4fbc560ca566c06fef9378 /vnfmarket-be/deployment | |
parent | cd32882ebd48adffca70d6470c3f50525bcb5695 (diff) |
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>
Diffstat (limited to 'vnfmarket-be/deployment')
-rw-r--r-- | vnfmarket-be/deployment/install/.env | 4 | ||||
-rw-r--r-- | vnfmarket-be/deployment/install/docker-compose.yml | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/vnfmarket-be/deployment/install/.env b/vnfmarket-be/deployment/install/.env index 637d667d..6f7aa333 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 7ca0b51c..db6207df 100644 --- a/vnfmarket-be/deployment/install/docker-compose.yml +++ b/vnfmarket-be/deployment/install/docker-compose.yml @@ -9,7 +9,7 @@ services: 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 @@ services: 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" |