aboutsummaryrefslogtreecommitdiffstats
path: root/docker-compose.yml
diff options
context:
space:
mode:
authorputhuparambil.aditya <aditya.puthuparambil@bell.ca>2021-09-13 18:01:11 +0100
committerputhuparambil.aditya <aditya.puthuparambil@bell.ca>2021-09-22 10:44:13 +0100
commit8d443ef01e1c85773a9c82910443199de85f24ab (patch)
tree8faefeb00fafec379a77cd0d7be458f5d908e320 /docker-compose.yml
parent564e5e96c4ee9a4ae9715865cf6491b4266c601f (diff)
CSIT for cps-temporal
Issue-ID: CPS-482 Signed-off-by: puthuparambil.aditya <aditya.puthuparambil@bell.ca> Change-Id: I5069bdaf36ada7d2e5092669fd58404ed0a19063
Diffstat (limited to 'docker-compose.yml')
-rwxr-xr-xdocker-compose.yml40
1 files changed, 35 insertions, 5 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
index c41c4ed..afe9019 100755
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -16,25 +16,24 @@
#
# SPDX-License-Identifier: Apache-2.0
# ============LICENSE_END=========================================================
-
version: "3.7"
services:
cps-temporal:
container_name: cps-temporal
- image: onap/cps-temporal:latest
+ image: ${DOCKER_REPO:-nexus3.onap.org:10003}/onap/cps-temporal:latest
ports:
- '8082:8080'
+ - '8081:8081'
environment:
DB_HOST: timescaledb
DB_PORT: 5432
DB_USERNAME: cpstemporal
DB_PASSWORD: cpstemporal
- APP_USERNAME: ${APP_USERNAME:-cpsuser}
- APP_PASSWORD: ${APP_PASSWORD:-cpsr0cks!}
KAFKA_BOOTSTRAP_SERVER: kafka:9092
-
+ APP_USERNAME: cpstemporal
+ APP_PASSWORD: cpstemporal
restart: unless-stopped
depends_on:
- timescaledb
@@ -69,3 +68,34 @@ services:
KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://kafka:9092,CONNECTIONS_FROM_HOST://localhost:19092
KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: PLAINTEXT:PLAINTEXT,CONNECTIONS_FROM_HOST:PLAINTEXT
KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1
+
+ cps-and-ncmp:
+ container_name: cps-and-ncmp
+ image: ${DOCKER_REPO:-nexus3.onap.org:10003}/onap/cps-and-ncmp:${VERSION:-latest}
+ ports:
+ - "8083:8080"
+ - "8087:8081"
+ environment:
+ CPS_USERNAME: ${CPS_USERNAME:-cpsuser}
+ CPS_PASSWORD: ${CPS_PASSWORD:-cpsr0cks!}
+ DB_HOST: dbpostgresql
+ DB_USERNAME: ${DB_USERNAME:-cps}
+ DB_PASSWORD: ${DB_PASSWORD:-cps}
+ DMI_USERNAME: ${DMI_USERNAME:-cpsuser}
+ DMI_PASSWORD: ${DMI_PASSWORD:-cpsr0cks!}
+ KAFKA_BOOTSTRAP_SERVER: kafka:9092
+ notification.data-updated.enabled: 'true'
+ NOTIFICATION_DATASPACE_FILTER_PATTERNS: '.*'
+ restart: unless-stopped
+ depends_on:
+ - dbpostgresql
+
+ dbpostgresql:
+ container_name: dbpostgresql
+ image: postgres:13.2-alpine
+ ports:
+ - '5432:5432'
+ environment:
+ POSTGRES_DB: cpsdb
+ POSTGRES_USER: ${DB_USERNAME:-cps}
+ POSTGRES_PASSWORD: ${DB_PASSWORD:-cps}