aboutsummaryrefslogtreecommitdiffstats
path: root/vnfmarket-be/deployment
diff options
context:
space:
mode:
Diffstat (limited to 'vnfmarket-be/deployment')
-rw-r--r--vnfmarket-be/deployment/install/.env4
-rw-r--r--vnfmarket-be/deployment/install/docker-compose.yml4
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"