Parameterized docker image version 33/60933/1
authorQuoc-Nghia Nguyen <quocnghia.nguyen@orange.com>
Thu, 16 Aug 2018 15:41:11 +0000 (17:41 +0200)
committerQuoc-Nghia Nguyen <quocnghia.nguyen@orange.com>
Thu, 16 Aug 2018 15:41:11 +0000 (17:41 +0200)
Change-Id: I309c505dd498aebd1c2512c27d8a3f0a438aa7fa
Issue-ID: EXTAPI-118
Signed-off-by: Quoc-Nghia Nguyen <quocnghia.nguyen@orange.com>
docker-compose.yml

index cc73775..943b9cb 100644 (file)
@@ -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: