CI: Add SonarCloud scan GHA workflow
[nonrtric/plt/ranpm.git] / docker-proj / docker-compose-pmrapp.yaml
1 #  ============LICENSE_START===============================================
2 #  Copyright (C) 2023 Nordix Foundation. All rights reserved.
3 #  ========================================================================
4 #  Licensed under the Apache License, Version 2.0 (the "License");
5 #  you may not use this file except in compliance with the License.
6 #  You may obtain a copy of the License at
7 #
8 #       http://www.apache.org/licenses/LICENSE-2.0
9 #
10 #  Unless required by applicable law or agreed to in writing, software
11 #  distributed under the License is distributed on an "AS IS" BASIS,
12 #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 #  See the License for the specific language governing permissions and
14 #  limitations under the License.
15 #  ============LICENSE_END=================================================
16 #
17
18 version: '3.0'
19 networks:
20   default:
21     external: true
22     name: nonrtric-docker-net
23
24 services:
25   pm-rapp:
26     image: $PMRAPP_IMAGE
27     container_name: pm-rapp
28     environment:
29       APPID: pm-rapp
30       APPNS: 'nonrtric'
31       KAFKA_SERVER: kafka-1:9097
32       ICS: ics:8083
33       TOPIC: rapp-topic
34       LOG_PAYLOAD: '1'
35       GZIP: ''
36       CREDS_GRANT_TYPE: client_credentials
37       CREDS_CLIENT_SECRET: $PMRAPP_CLIENT_SECRET
38       CREDS_CLIENT_ID: pm-rapp
39     volumes:
40     - ./config/pmrapp:/config
41     labels:
42       - "ranpm=yes"
43       - "ranpmrapp=yes"