CI: Add silent prescan SonarCloud job
[nonrtric/rapp/ransliceassurance.git] / smoversion / docker-compose.yaml
1 #  Copyright (C) 2022 Nordix Foundation. All rights reserved.
2 #  ========================================================================
3 #  Licensed under the Apache License, Version 2.0 (the "License");
4 #  you may not use this file except in compliance with the License.
5 #  You may obtain a copy of the License at
6 #
7 #       http://www.apache.org/licenses/LICENSE-2.0
8 #
9 #  Unless required by applicable law or agreed to in writing, software
10 #  distributed under the License is distributed on an "AS IS" BASIS,
11 #  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 #  See the License for the specific language governing permissions and
13 #  limitations under the License.
14 #  ============LICENSE_END=================================================
15 #
16 version: '3.5'
17
18 networks:
19   default:
20     driver: bridge
21     name: nonrtric-docker-net
22
23 services:
24   sdnr-mr-sim:
25     build:
26       context: .
27       dockerfile: Dockerfile-simulator
28     container_name: sdnr-mr-sim
29     networks:
30       default:
31         aliases:
32           - sdnr-mr-sim
33     ports:
34       - 3904:3904
35       - 3905:3905
36
37   odu-app:
38     build:
39       context: .
40       dockerfile: Dockerfile
41     container_name: odu-app
42     networks:
43       default:
44         aliases:
45           - odu-app
46     ports:
47       - 8086:8086
48     environment:
49       - MR_HOST=http://sdnr-mr-sim
50       - MR_PORT=3905
51       - SDNR_ADDR=http://sdnr-mr-sim:3904
52       - SDNR_USER=admin
53       - SDNR_PASSWORD=Kp8bJ4SXszM0WXlhak3eHlcse2gAw84vaoGGmJvUy2U
54       - LOG_LEVEL=Info
55       - POLLTIME=10