Function test updates
[nonrtric.git] / test / simulator-group / ricmediator / docker-compose.yml
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
20 # Compose file to bring up 3 groups of ric simulator containers with variable interface and count
21
22 networks:
23   default:
24     external: true
25     name: ${DOCKER_SIM_NWNAME}
26
27 services:
28   ${RICMEDIATOR_SIMCOMPOSE_SERVICE_NAME}:
29     image: ${RICMEDIATOR_SIM_IMAGE}
30     networks:
31       - default
32     ports:
33       - ${RICMEDIATOR_SIM_INTERNAL_PORT}/tcp
34       - ${RICMEDIATOR_SIM_INTERNAL_SECURE_PORT}/tcp
35     environment:
36       - DBAAS_SERVICE_HOST=dbaas
37       - DBAAS_SERVICE_PORT=6379
38     labels:
39       - "orana1sim=app"
40       - "nrttest_app=RICMEDIATORSIM"
41       - "nrttest_dp=${RICMEDIATOR_SIM_DISPLAY_NAME}"
42
43   dbaas:
44     image: ${RICMEDIATOR_SIM_DB_IMAGE}
45     networks:
46       - default
47     ports:
48       - 6379/tcp
49     labels:
50       - "nrttest_app=RICMEDIATORSIM"
51       - "nrttest_dp=${RICMEDIATOR_SIM_DISPLAY_NAME}"