BjornMagnussonXA | 80a9200 | 2020-03-19 14:31:06 +0100 | [diff] [blame] | 1 | # ============LICENSE_START=============================================== |
| 2 | # Copyright (C) 2020 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 | |
YongchaoWu | 4e489b0 | 2020-02-24 09:18:16 +0100 | [diff] [blame] | 22 | networks: |
BjornMagnussonXA | 80a9200 | 2020-03-19 14:31:06 +0100 | [diff] [blame] | 23 | default: |
YongchaoWu | 4e489b0 | 2020-02-24 09:18:16 +0100 | [diff] [blame] | 24 | external: |
BjornMagnussonXA | 80a9200 | 2020-03-19 14:31:06 +0100 | [diff] [blame] | 25 | name: ${DOCKER_SIM_NWNAME} |
YongchaoWu | 4e489b0 | 2020-02-24 09:18:16 +0100 | [diff] [blame] | 26 | services: |
BjornMagnussonXA | 80a9200 | 2020-03-19 14:31:06 +0100 | [diff] [blame] | 27 | g1: |
| 28 | image: ${RIC_SIM_IMAGE} |
YongchaoWu | 4e489b0 | 2020-02-24 09:18:16 +0100 | [diff] [blame] | 29 | networks: |
BjornMagnussonXA | 80a9200 | 2020-03-19 14:31:06 +0100 | [diff] [blame] | 30 | - default |
YongchaoWu | 4e489b0 | 2020-02-24 09:18:16 +0100 | [diff] [blame] | 31 | ports: |
ecaiyanlinux | 99a769b | 2020-05-15 13:58:02 +0200 | [diff] [blame] | 32 | - ${RIC_SIM_INTERNAL_PORT}/tcp |
| 33 | - ${RIC_SIM_INTERNAL_SECURE_PORT}/tcp |
BjornMagnussonXA | 80a9200 | 2020-03-19 14:31:06 +0100 | [diff] [blame] | 34 | environment: |
| 35 | - A1_VERSION=${G1_A1_VERSION} |
BjornMagnussonXA | 72667f1 | 2020-04-24 09:20:18 +0200 | [diff] [blame] | 36 | - REMOTE_HOSTS_LOGGING=1 |
RehanRaza | 7c00ce1 | 2020-06-01 17:37:13 +0200 | [diff] [blame] | 37 | - ALLOW_HTTP=true |
BjornMagnussonXA | 84ffd4a | 2021-10-08 08:58:12 +0200 | [diff] [blame] | 38 | - DUPLICATE_CHECK=1 |
BjornMagnussonXA | 72667f1 | 2020-04-24 09:20:18 +0200 | [diff] [blame] | 39 | volumes: |
| 40 | - ${RIC_SIM_CERT_MOUNT_DIR}:/usr/src/app/cert:ro |
BjornMagnussonXA | be9a07f | 2021-02-25 10:51:46 +0100 | [diff] [blame] | 41 | labels: |
| 42 | - "nrttest_app=RICSIM" |
| 43 | - "nrttest_dp=${RIC_SIM_DISPLAY_NAME}" |
| 44 | |
BjornMagnussonXA | 80a9200 | 2020-03-19 14:31:06 +0100 | [diff] [blame] | 45 | g2: |
| 46 | image: ${RIC_SIM_IMAGE} |
| 47 | networks: |
| 48 | - default |
| 49 | ports: |
ecaiyanlinux | 99a769b | 2020-05-15 13:58:02 +0200 | [diff] [blame] | 50 | - ${RIC_SIM_INTERNAL_PORT}/tcp |
| 51 | - ${RIC_SIM_INTERNAL_SECURE_PORT}/tcp |
BjornMagnussonXA | 80a9200 | 2020-03-19 14:31:06 +0100 | [diff] [blame] | 52 | environment: |
| 53 | - A1_VERSION=${G2_A1_VERSION} |
BjornMagnussonXA | 72667f1 | 2020-04-24 09:20:18 +0200 | [diff] [blame] | 54 | - REMOTE_HOSTS_LOGGING=1 |
RehanRaza | 7c00ce1 | 2020-06-01 17:37:13 +0200 | [diff] [blame] | 55 | - ALLOW_HTTP=true |
BjornMagnussonXA | 84ffd4a | 2021-10-08 08:58:12 +0200 | [diff] [blame] | 56 | - DUPLICATE_CHECK=1 |
BjornMagnussonXA | 72667f1 | 2020-04-24 09:20:18 +0200 | [diff] [blame] | 57 | volumes: |
| 58 | - ${RIC_SIM_CERT_MOUNT_DIR}:/usr/src/app/cert:ro |
BjornMagnussonXA | be9a07f | 2021-02-25 10:51:46 +0100 | [diff] [blame] | 59 | labels: |
| 60 | - "nrttest_app=RICSIM" |
| 61 | - "nrttest_dp=${RIC_SIM_DISPLAY_NAME}" |
| 62 | |
BjornMagnussonXA | 80a9200 | 2020-03-19 14:31:06 +0100 | [diff] [blame] | 63 | g3: |
| 64 | image: ${RIC_SIM_IMAGE} |
| 65 | networks: |
| 66 | - default |
| 67 | ports: |
ecaiyanlinux | 99a769b | 2020-05-15 13:58:02 +0200 | [diff] [blame] | 68 | - ${RIC_SIM_INTERNAL_PORT}/tcp |
| 69 | - ${RIC_SIM_INTERNAL_SECURE_PORT}/tcp |
BjornMagnussonXA | 80a9200 | 2020-03-19 14:31:06 +0100 | [diff] [blame] | 70 | environment: |
BjornMagnussonXA | 72667f1 | 2020-04-24 09:20:18 +0200 | [diff] [blame] | 71 | - A1_VERSION=${G3_A1_VERSION} |
| 72 | - REMOTE_HOSTS_LOGGING=1 |
RehanRaza | 7c00ce1 | 2020-06-01 17:37:13 +0200 | [diff] [blame] | 73 | - ALLOW_HTTP=true |
BjornMagnussonXA | 84ffd4a | 2021-10-08 08:58:12 +0200 | [diff] [blame] | 74 | - DUPLICATE_CHECK=1 |
BjornMagnussonXA | 72667f1 | 2020-04-24 09:20:18 +0200 | [diff] [blame] | 75 | volumes: |
BjornMagnussonXA | be9a07f | 2021-02-25 10:51:46 +0100 | [diff] [blame] | 76 | - ${RIC_SIM_CERT_MOUNT_DIR}:/usr/src/app/cert:ro |
| 77 | labels: |
| 78 | - "nrttest_app=RICSIM" |
| 79 | - "nrttest_dp=${RIC_SIM_DISPLAY_NAME}" |