summaryrefslogtreecommitdiffstats
path: root/docker-compose/docker-compose.yml
diff options
context:
space:
mode:
authortragait <rahul.tyagi@est.tech>2021-10-19 16:46:21 +0100
committertragait <rahul.tyagi@est.tech>2021-10-21 13:10:47 +0100
commitdd6021e12851eb89e6674d5f4c03ffae4d08e230 (patch)
treee1ca0b75eb97a790b3a4a613eed67af78260b668 /docker-compose/docker-compose.yml
parent5e575237b404faee1fd71fa81dbad0b1b4d6017b (diff)
fix docker-compose for ncmp
Issue-ID: CPS-725 Signed-off-by: tragait <rahul.tyagi@est.tech> Change-Id: Ibd646c225b4b9b205fdc34012f10a627e7827513
Diffstat (limited to 'docker-compose/docker-compose.yml')
-rwxr-xr-xdocker-compose/docker-compose.yml34
1 files changed, 6 insertions, 28 deletions
diff --git a/docker-compose/docker-compose.yml b/docker-compose/docker-compose.yml
index c928ee88b0..5bdff9d79a 100755
--- a/docker-compose/docker-compose.yml
+++ b/docker-compose/docker-compose.yml
@@ -97,13 +97,13 @@ services:
cps-and-ncmp:
container_name: cps-and-ncmp
- image: ${DOCKER_REPO:-nexus3.onap.org:10003}/onap/cps-and-ncmp:${VERSION:-latest}
+ image: ${DOCKER_REPO:-nexus3.onap.org:10003}/onap/cps-and-ncmp:${CPS_VERSION:-latest}
ports:
- - "8883:8080"
- - "8887:8081"
+ - ${CPS_CORE_PORT:-8883}:8080
+ - ${CPS_CORE_MANAGEMENT_PORT:-8887}:8081
environment:
- CPS_USERNAME: ${CPS_USERNAME:-cpsuser}
- CPS_PASSWORD: ${CPS_PASSWORD:-cpsr0cks!}
+ CPS_USERNAME: ${CPS_CORE_USERNAME:-cpsuser}
+ CPS_PASSWORD: ${CPS_CORE_PASSWORD:-cpsr0cks!}
DB_HOST: ${DB_HOST}
DB_USERNAME: ${DB_USERNAME:-cps}
DB_PASSWORD: ${DB_PASSWORD:-cps}
@@ -114,26 +114,4 @@ services:
#NOTIFICATION_DATASPACE_FILTER_PATTERNS: '.*'
restart: unless-stopped
depends_on:
- - dbpostgresql
-
- ncmp-dmi-plugin:
- container_name: ncmp-dmi-plugin
- image: ${DOCKER_REPO:-nexus3.onap.org:10003}/onap/ncmp-dmi-plugin:${VERSION:-latest}
- ports:
- - "8783:8080"
- - "8787:8081"
- environment:
- DMI_USERNAME: ${DMI_USERNAME:-cpsuser}
- DMI_PASSWORD: ${DMI_PASSWORD:-cpsr0cks!}
- CPS_CORE_HOST: ${CPS_CORE_HOST}
- CPS_CORE_PORT: ${CPS_CORE_PORT:-8883}
- CPS_CORE_USERNAME: ${CPS_CORE_USERNAME:-cpsuser}
- CPS_CORE_PASSWORD: ${CPS_CORE_PASSWORD:-cpsr0cks!}
- SDNC_HOST: ${SDNC_HOST}
- SDNC_PORT: ${SDNC_PORT:-8282}
- SDNC_USERNAME: ${SDNC_USERNAME:-admin}
- SDNC_PASSWORD: ${SDNC_PASSWORD:-Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U}
- DMI_SERVICE_URL: ${DMI_SERVICE_URL}
- restart: unless-stopped
- depends_on:
- - cps-and-ncmp #it depends on cps_and_ncmp for registration but as a container it can run independently. \ No newline at end of file
+ - dbpostgresql \ No newline at end of file