diff options
author | tragait <rahul.tyagi@est.tech> | 2021-10-19 16:38:16 +0100 |
---|---|---|
committer | tragait <rahul.tyagi@est.tech> | 2021-10-21 10:04:43 +0100 |
commit | 641cdb4da4c74acf49c8b548a32336c5bcbfc4ae (patch) | |
tree | 869c60479a7744ad9f33eaa17d14609d73263e04 /docker-compose | |
parent | 3e9a7ae889e10b61204c924da052d155d68911e5 (diff) |
fix docker compose for ncmp/dmi
Issue-ID: CPS-725
Signed-off-by: tragait <rahul.tyagi@est.tech>
Change-Id: I5c6bd80718a5ac3978ad0bf94503e357b1aebd07
Diffstat (limited to 'docker-compose')
-rwxr-xr-x | docker-compose/docker-compose.yml | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/docker-compose/docker-compose.yml b/docker-compose/docker-compose.yml index bec9bfec..25974baf 100755 --- a/docker-compose/docker-compose.yml +++ b/docker-compose/docker-compose.yml @@ -22,13 +22,13 @@ version: "3.7" services: ncmp-dmi-plugin: container_name: ncmp-dmi-plugin - image: ${DOCKER_REPO:-nexus3.onap.org:10003}/onap/ncmp-dmi-plugin:${VERSION:-latest} + image: ${DOCKER_REPO:-nexus3.onap.org:10003}/onap/ncmp-dmi-plugin:${DMI_VERSION:-latest} ports: - - "8783:8080" - - "8787:8081" + - ${DMI_PORT:-8783}:8080 + - ${DMI_MANAGEMENT_PORT:-8787}:8081 environment: - CPS_USERNAME: ${CPS_USERNAME:-cpsuser} - CPS_PASSWORD: ${CPS_PASSWORD:-cpsr0cks!} + CPS_USERNAME: ${CPS_CORE_USERNAME:-cpsuser} + CPS_PASSWORD: ${CPS_CORE_PASSWORD:-cpsr0cks!} CPS_CORE_HOST: ${CPS_CORE_HOST:-cps} CPS_CORE_PORT: ${CPS_CORE_PORT:-8080} CPS_CORE_USERNAME: ${CPS_CORE_USERNAME:-cpsuser} @@ -38,6 +38,6 @@ services: SDNC_USERNAME: ${SDNC_USERNAME:-admin} SDNC_PASSWORD: ${SDNC_PASSWORD:-Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U} DMI_SERVICE_URL: ${DMI_SERVICE_URL:-http://ncmp-dmi-plugin:8783} - DMI_USERNAME: "cpsuser" - DMI_PASSWORD: "cpsr0cks!" + DMI_USERNAME: ${DMI_USERNAME:-cpsuser} + DMI_PASSWORD: ${DMI_PASSWORD:-cpsr0cks!} restart: unless-stopped |