Merge "Minor bugs fix in ORU-app simulator" into e-release
[nonrtric.git] / test / usecases / oruclosedlooprecovery / goversion / 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   ics:
25     build:
26       context: .
27       dockerfile: Dockerfile-ics
28     container_name: ics-sim
29     networks:
30       default:
31         aliases:
32           - ics-sim
33     ports:
34       - 8083:8083
35     environment:
36       - PRODUCER_ADDR=http://producer-sim:8085/
37
38   sdnr-simulator:
39     build:
40       context: .
41       dockerfile: Dockerfile-sdnr
42     container_name: sdnr-sim
43     networks:
44       default:
45         aliases:
46           - sdnr-sim
47     ports:
48       - 3904:3904
49
50   producer:
51     build:
52       context: .
53       dockerfile: Dockerfile-producer
54     container_name: producer-sim
55     networks:
56       default:
57         aliases:
58           - producer-sim
59     ports:
60       - 8085:8085
61     environment:
62       - ORU_ADDR=http://oru-app:8086
63
64   oru-app:
65     build:
66       context: .
67       dockerfile: Dockerfile
68     container_name: oru-app
69     networks:
70       default:
71         aliases:
72           - oru-app
73     ports:
74       - 8086:8086
75     environment:
76       - CONSUMER_HOST=http://producer-sim
77       - CONSUMER_PORT=8086
78       - INFO_COORD_ADDR=http://ics-sim:8083
79       - SDNR_ADDR=http://sdnr-sim:3904
80       - CONSUMER_CERT_PATH=security/consumer.crt
81       - CONSUMER_KEY_PATH=security/consumer.key
82       - LOG_LEVEL=Debug