diff options
author | Murali <murali.p@huawei.com> | 2017-09-20 07:20:43 +0000 |
---|---|---|
committer | Murali <murali.p@huawei.com> | 2017-09-20 07:20:43 +0000 |
commit | 984346f6f482323595ca0f5b3eb570291641de70 (patch) | |
tree | c7c54ba3bb29f6ea8d653de73727180cb49e9ce9 | |
parent | b4b293f9436299e0d054d504095a462b0764a56c (diff) |
Add .env file for custom version for docker
Change-Id: Ie87d5476d25d163a1c72bc209528f322fc37e04e
Jira:VNFSDK-92
Signed-off-by: Murali <murali.p@huawei.com>
-rw-r--r-- | vnfmarket-be/deployment/install/.env | 10 | ||||
-rw-r--r-- | vnfmarket-be/deployment/install/docker-compose.yml | 4 |
2 files changed, 12 insertions, 2 deletions
diff --git a/vnfmarket-be/deployment/install/.env b/vnfmarket-be/deployment/install/.env new file mode 100644 index 00000000..83c135f3 --- /dev/null +++ b/vnfmarket-be/deployment/install/.env @@ -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 + diff --git a/vnfmarket-be/deployment/install/docker-compose.yml b/vnfmarket-be/deployment/install/docker-compose.yml index caf70cd1..57236875 100644 --- a/vnfmarket-be/deployment/install/docker-compose.yml +++ b/vnfmarket-be/deployment/install/docker-compose.yml @@ -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: |