1 # ============LICENSE_START=======================================================
3 # ================================================================================
4 # Copyright (C) 2022 Wipro Limited.
5 # ==============================================================================
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
10 # http://www.apache.org/licenses/LICENSE-2.0
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=========================================================
22 testsuites_sonhms-default:
26 container_name: cps-and-ncmp
27 hostname: cps-and-ncmp
28 image: ${DOCKER_REPO:-nexus3.onap.org:10003}/onap/cps-and-ncmp:${VERSION:-latest}
33 - testsuites_sonhms-default
35 CPS_USERNAME: ${CPS_USERNAME:-cpsuser}
36 CPS_PASSWORD: ${CPS_PASSWORD:-cpsr0cks!}
38 DB_USERNAME: ${DB_USERNAME:-cps}
39 DB_PASSWORD: ${DB_PASSWORD:-cps}
40 DMI_USERNAME: ${DMI_USERNAME:-cpsuser}
41 DMI_PASSWORD: ${DMI_PASSWORD:-cpsr0cks!}
42 restart: unless-stopped
47 container_name: dbpostgresql
48 image: postgres:13.2-alpine
52 - testsuites_sonhms-default
55 POSTGRES_USER: ${DB_USERNAME:-cps}
56 POSTGRES_PASSWORD: ${DB_PASSWORD:-cps}
58 image: 'postgres:12.4-alpine'
59 container_name: cps-tbdmt-postgres
62 - POSTGRES_USER=postgres
63 - POSTGRES_PASSWORD=postgres
64 - POSTGRES_DB=cps_template_db
68 test: ["CMD", "nc", "-z", "localhost", "5432"]
73 - testsuites_sonhms-default
75 image: ${DOCKER_REPO:-nexus3.onap.org:10003}/onap/cps-tbdmt:${VERSION:-latest}
76 container_name: cps-tbdmt
81 - "./application.yml:/app/resources/application.yml"
84 restart: on-failure:10
86 - testsuites_sonhms-default