1 # ============LICENSE_START=======================================================
2 # Copyright (C) 2021 Nordix Foundation.
3 # Modifications Copyright (C) 2021 Bell Canada.
4 # ================================================================================
5 # Licensed under the Apache License, Version 2.0 (the "License");
6 # you may not use this file except in compliance with the License.
7 # You may obtain a copy of the License at
9 # http://www.apache.org/licenses/LICENSE-2.0
11 # Unless required by applicable law or agreed to in writing, software
12 # distributed under the License is distributed on an "AS IS" BASIS,
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 # See the License for the specific language governing permissions and
15 # limitations under the License.
17 # SPDX-License-Identifier: Apache-2.0
18 # ============LICENSE_END=========================================================
25 container_name: cps-temporal
26 image: onap/cps-temporal:latest
32 DB_USERNAME: cpstemporal
33 DB_PASSWORD: cpstemporal
34 KAFKA_BOOTSTRAP_SERVER: kafka:9092
36 restart: unless-stopped
42 container_name: timescaledb
43 image: timescale/timescaledb:2.1.1-pg13
47 POSTGRES_DB: cpstemporaldb
48 POSTGRES_USER: cpstemporal
49 POSTGRES_PASSWORD: cpstemporal
52 image: confluentinc/cp-zookeeper:6.1.1
53 container_name: zookeeper
55 ZOOKEEPER_CLIENT_PORT: 2181
58 image: confluentinc/cp-kafka:6.1.1
66 KAFKA_ZOOKEEPER_CONNECT: zookeeper:2181
67 KAFKA_ADVERTISED_LISTENERS: PLAINTEXT://kafka:9092,CONNECTIONS_FROM_HOST://localhost:19092
68 KAFKA_LISTENER_SECURITY_PROTOCOL_MAP: PLAINTEXT:PLAINTEXT,CONNECTIONS_FROM_HOST:PLAINTEXT
69 KAFKA_OFFSETS_TOPIC_REPLICATION_FACTOR: 1