summaryrefslogtreecommitdiffstats
path: root/docker-compose.yml
diff options
context:
space:
mode:
authorQuoc-Nghia Nguyen <quocnghia.nguyen@orange.com>2018-08-16 17:41:11 +0200
committerQuoc-Nghia Nguyen <quocnghia.nguyen@orange.com>2018-08-16 17:41:11 +0200
commit9258c8f5f392ff86d3aea73f3ab078ae4c796258 (patch)
tree6ea544ca4aca367f4c737e2f915281075f40d31e /docker-compose.yml
parent8bbefa2ea43f8d2beedeb347bb831b82009417a3 (diff)
Parameterized docker image version
Change-Id: I309c505dd498aebd1c2512c27d8a3f0a438aa7fa Issue-ID: EXTAPI-118 Signed-off-by: Quoc-Nghia Nguyen <quocnghia.nguyen@orange.com>
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml4
1 files 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: