From 9258c8f5f392ff86d3aea73f3ab078ae4c796258 Mon Sep 17 00:00:00 2001
From: Quoc-Nghia Nguyen <quocnghia.nguyen@orange.com>
Date: Thu, 16 Aug 2018 17:41:11 +0200
Subject: Parameterized docker image version

Change-Id: I309c505dd498aebd1c2512c27d8a3f0a438aa7fa
Issue-ID: EXTAPI-118
Signed-off-by: Quoc-Nghia Nguyen <quocnghia.nguyen@orange.com>
---
 docker-compose.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docker-compose.yml b/docker-compose.yml
index cc73775..943b9cb 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -14,7 +14,7 @@
 #     limitations under the License.
 #
 
-version: "2"
+version: "2.1"
 services:
   mongo:
     image: mongo:3
@@ -35,7 +35,7 @@ services:
       MYSQL_USER: rene
 # APP  ***************************************************************************************
   nbi:
-    image: ${NEXUS_DOCKER_REPO}/onap/externalapi/nbi:latest
+    image: ${NEXUS_DOCKER_REPO}/onap/externalapi/nbi:${DOCKER_IMAGE_VERSION:-latest}
     ports:
     - 8080:8080
     env_file:
-- 
cgit 1.2.3-korg