Use dynamic docker repository for dmaap-mr 29/46229/1
authorGary Wu <gary.i.wu@huawei.com>
Fri, 4 May 2018 14:32:09 +0000 (07:32 -0700)
committerGary Wu <gary.i.wu@huawei.com>
Fri, 4 May 2018 14:33:42 +0000 (07:33 -0700)
Change-Id: Id0f0974fc38c81e27ca9c5ec7bb5e2c42ac9cb8d
Issue-ID: INT-482
Signed-off-by: Gary Wu <gary.i.wu@huawei.com>
demo/deploy.sh
demo/docker_files/__docker-compose.yml

index b11a1e0..f54c09a 100644 (file)
@@ -2,6 +2,8 @@
 
 set -e
 
+export NEXUS_DOCKER_REPO=$(cat /opt/config/nexus_docker_repo.txt)
+
 # do not change this, it is already matched with the git repo file structure
 DOCKER_FILE_DIR='./docker_files'
 
index cca2b64..0f90eb9 100644 (file)
@@ -37,9 +37,9 @@ services:
       options:
         max-size: "30m"
         max-file: "5"
-      
+
   dmaap:
-    image: nexus3.onap.org:10001/onap/dmaap/dmaap-mr:1.1.4
+    image: ${NEXUS_DOCKER_REPO}/onap/dmaap/dmaap-mr:1.1.4
     ports:
       - "3904:3904"
       - "3905:3905"