5fa6094ca8066427dfb5acdf5226ca8fb77842b6
[nonrtric.git] / test / usecases / oruclosedlooprecovery / scriptversion / docker-compose / docker-compose.yaml
1 #  Copyright (C) 2021 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   message-generator:
25     image: message-generator
26     container_name: message-generator
27     networks:
28       default:
29         aliases:
30           - message-generator
31     environment:
32       - MR-HOST=http://dmaap-mr
33       - MR-PORT=3904
34
35   sdnr-simulator:
36     image: sdnr-simulator
37     container_name: sdnr-simulator
38     networks:
39       default:
40         aliases:
41           - sdnr-simulator
42     ports:
43       - 9990:9990
44     environment:
45       - MR-HOST=http://dmaap-mr
46       - MR-PORT=3904
47
48   oru-app:
49     image: oru-app
50     container_name: oru-app
51     networks:
52       default:
53         aliases:
54           - oru-app
55     environment:
56       - MR-HOST=http://dmaap-mr
57       - MR-PORT=3904
58       - SDNR-HOST=http://sdnr-simulator
59       - SDNR-PORT=9990
60       - VERBOSE=on