Add .env file for custom version for docker 33/13733/1
authorMurali <murali.p@huawei.com>
Wed, 20 Sep 2017 07:20:43 +0000 (07:20 +0000)
committerMurali <murali.p@huawei.com>
Wed, 20 Sep 2017 07:20:43 +0000 (07:20 +0000)
Change-Id: Ie87d5476d25d163a1c72bc209528f322fc37e04e
Jira:VNFSDK-92
Signed-off-by: Murali <murali.p@huawei.com>
vnfmarket-be/deployment/install/.env [new file with mode: 0644]
vnfmarket-be/deployment/install/docker-compose.yml

diff --git a/vnfmarket-be/deployment/install/.env b/vnfmarket-be/deployment/install/.env
new file mode 100644 (file)
index 0000000..83c135f
--- /dev/null
@@ -0,0 +1,10 @@
+# Environment settings
+# used by docker-compose AND by other shell scripts
+
+
+# Tag all images with this
+REFREPO_TAG=1.0-STAGING-latest
+POSTGRES_TAG=latest
+
+NEXUS_REPO=nexus3.onap.org:10001
+
index caf70cd..5723687 100644 (file)
@@ -1,7 +1,7 @@
 postgres:
     container_name: "postgres"
     restart: "always"
-    image: "nexus3.onap.org:10001/onap/refrepo/postgres:latest"
+    image: "${NEXUS_REPO}/onap/refrepo/postgres:${POSTGRES_TAG}"
     mem_limit: "1g"
     memswap_limit: "1g"
     ports:
@@ -11,7 +11,7 @@ postgres:
 refrepo:
     container_name: "refrepo"
     restart: "always"
-    image: "nexus3.onap.org:10001/onap/refrepo:1.0-STAGING-latest"
+    image: "${NEXUS_REPO}/onap/refrepo:${REFREPO_TAG}"
     ports:
         - "8702:8702"
     environment: