blob: d97cbeb847be389cabf6a8fc80356ed0eb2ba53c [file] [log] [blame]
Claudio D. Gasparini4e07d482021-02-11 08:51:06 +01001# ============LICENSE_START=======================================================
2# Copyright (c) 2020 Pantheon.tech.
3# Modifications Copyright (C) 2021 Bell Canada.
lukegleeson15b93e72021-07-07 15:25:30 +01004# Modifications Copyright (C) 2021 Nordix Foundation
Claudio D. Gasparini4e07d482021-02-11 08:51:06 +01005# ================================================================================
6# Licensed under the Apache License, Version 2.0 (the "License");
7# you may not use this file except in compliance with the License.
8# You may obtain a copy of the License at
9#
10# http://www.apache.org/licenses/LICENSE-2.0
11#
12# Unless required by applicable law or agreed to in writing, software
13# distributed under the License is distributed on an "AS IS" BASIS,
14# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15# See the License for the specific language governing permissions and
16# limitations under the License.
17# ============LICENSE_END=========================================================
18
Claudio David Gasparini900ba022020-11-08 22:18:36 +010019version: "3.7"
20
21services:
Claudio D. Gasparini4e07d482021-02-11 08:51:06 +010022 #cps-standalone:
23 # container_name: cps-service
Bruno Sakoto6658f502021-07-01 22:28:17 -040024 # image: ${DOCKER_REPO:-nexus3.onap.org:10003}/onap/cps-service:${VERSION:-latest}
Claudio D. Gasparini4e07d482021-02-11 08:51:06 +010025 # ports:
26 # - "8881:8080"
puthuparambil.adityab46d1372021-07-09 12:51:10 +010027 # - "8887:8081"
Claudio D. Gasparini4e07d482021-02-11 08:51:06 +010028 # environment:
Renu Kumaribd35b4d2021-05-17 07:16:48 -040029 # CPS_USERNAME: ${CPS_USERNAME:-cpsuser}
30 # CPS_PASSWORD: ${CPS_PASSWORD:-cpsr0cks!}
31 # DB_HOST: dbpostgresql
Bruno Sakoto6658f502021-07-01 22:28:17 -040032 # DB_USERNAME: ${DB_USERNAME:-cps}
33 # DB_PASSWORD: ${DB_PASSWORD:-cps}
Renu Kumariff52b942021-05-27 23:16:32 -040034 # #KAFKA_BOOTSTRAP_SERVER: kafka:9092
35 # #notification.data-updated.enabled: 'true'
Renu Kumari86c74c72021-08-19 13:11:00 -040036 # #NOTIFICATION_DATASPACE_FILTER_PATTERNS: '.*'
Claudio D. Gasparini4e07d482021-02-11 08:51:06 +010037 # restart: unless-stopped
38 # depends_on:
39 # - dbpostgresql
Claudio David Gasparini900ba022020-11-08 22:18:36 +010040
tragait34a94b92021-03-30 12:02:27 +010041 #ncmp-standalone:
42 # container_name: cps-ncmp
Bruno Sakoto6658f502021-07-01 22:28:17 -040043 # image: ${DOCKER_REPO:-nexus3.onap.org:10003}/onap/cps-ncmp:${VERSION:-latest}
Claudio D. Gasparini4e07d482021-02-11 08:51:06 +010044 # ports:
45 # - "8882:8080"
puthuparambil.adityab46d1372021-07-09 12:51:10 +010046 # - "8887:8081"
Claudio D. Gasparini4e07d482021-02-11 08:51:06 +010047 # environment:
Renu Kumaribd35b4d2021-05-17 07:16:48 -040048 # CPS_USERNAME: ${CPS_USERNAME:-cpsuser}
49 # CPS_PASSWORD: ${CPS_PASSWORD:-cpsr0cks!}
50 # DB_HOST: dbpostgresql
Bruno Sakoto6658f502021-07-01 22:28:17 -040051 # DB_USERNAME: ${DB_USERNAME:-cps}
52 # DB_PASSWORD: ${DB_PASSWORD:-cps}
tragaitc3285512021-08-16 15:12:36 +010053 # DMI_USERNAME: ${DMI_USERNAME:-cpsuser}
54 # DMI_PASSWORD: ${DMI_PASSWORD:-cpsr0cks!}
Renu Kumariff52b942021-05-27 23:16:32 -040055 # #KAFKA_BOOTSTRAP_SERVER: kafka:9092
56 # #notification.data-updated.enabled: 'true'
Renu Kumari86c74c72021-08-19 13:11:00 -040057 # #NOTIFICATION_DATASPACE_FILTER_PATTERNS: '.*'
Claudio D. Gasparini4e07d482021-02-11 08:51:06 +010058 # restart: unless-stopped
59 # depends_on:
60 # - dbpostgresql
Claudio D. Gasparinib1ccfce2021-02-04 09:33:28 +010061
tragait34a94b92021-03-30 12:02:27 +010062 cps-and-ncmp:
63 container_name: cps-and-ncmp
ToineSiebelinka401e722021-06-30 08:38:51 +010064 image: ${DOCKER_REPO:-nexus3.onap.org:10003}/onap/cps-and-ncmp:${VERSION:-latest}
Claudio D. Gasparinib1ccfce2021-02-04 09:33:28 +010065 ports:
66 - "8883:8080"
puthuparambil.adityab46d1372021-07-09 12:51:10 +010067 - "8887:8081"
Claudio D. Gasparinib1ccfce2021-02-04 09:33:28 +010068 environment:
Renu Kumari3da52072021-04-14 10:14:13 -040069 CPS_USERNAME: ${CPS_USERNAME:-cpsuser}
70 CPS_PASSWORD: ${CPS_PASSWORD:-cpsr0cks!}
Renu Kumarid1385292021-04-01 10:44:31 -040071 DB_HOST: dbpostgresql
Bruno Sakoto6658f502021-07-01 22:28:17 -040072 DB_USERNAME: ${DB_USERNAME:-cps}
73 DB_PASSWORD: ${DB_PASSWORD:-cps}
tragaitc3285512021-08-16 15:12:36 +010074 DMI_USERNAME: ${DMI_USERNAME:-cpsuser}
75 DMI_PASSWORD: ${DMI_PASSWORD:-cpsr0cks!}
Renu Kumariff52b942021-05-27 23:16:32 -040076 #KAFKA_BOOTSTRAP_SERVER: kafka:9092
77 #notification.data-updated.enabled: 'true'
Renu Kumari86c74c72021-08-19 13:11:00 -040078 #NOTIFICATION_DATASPACE_FILTER_PATTERNS: '.*'
Claudio D. Gasparinib1ccfce2021-02-04 09:33:28 +010079 restart: unless-stopped
80 depends_on:
81 - dbpostgresql
Ruslan Kashapov1e5bd942021-01-22 12:53:01 +020082
Claudio David Gasparini900ba022020-11-08 22:18:36 +010083 dbpostgresql:
84 container_name: dbpostgresql
Rishi.Chaile1c35f02021-04-23 11:51:42 +010085 image: postgres:13.2-alpine
Claudio David Gasparini900ba022020-11-08 22:18:36 +010086 ports:
87 - '5432:5432'
88 environment:
Claudio David Gasparini5faa49c2020-11-12 08:28:07 +010089 POSTGRES_DB: cpsdb
Bruno Sakoto6658f502021-07-01 22:28:17 -040090 POSTGRES_USER: ${DB_USERNAME:-cps}
91 POSTGRES_PASSWORD: ${DB_PASSWORD:-cps}
Renu Kumariff52b942021-05-27 23:16:32 -040092
93# zookeeper:
94# image: confluentinc/cp-zookeeper:6.1.1
95# environment:
96# ZOOKEEPER_CLIENT_PORT: 2181
97# ZOOKEEPER_TICK_TIME: 2000
98# ports:
99# - 22181:2181
100#
101# kafka:
102# image: confluentinc/cp-kafka:6.1.1
103# depends_on:
104# - zookeeper
105# ports:
106# - 29092:29092
107# environment:
108# KAFKA_BROKER_ID: 1
109# KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
110# KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://kafka:9092,PLAINTEXT_HOST://localhost:29092
111# KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: PLAINTEXT:PLAINTEXT,PLAINTEXT_HOST:PLAINTEXT
112# KAFKA_INTER_BROKER_LISTENER_NAME: PLAINTEXT
113# KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1