BjornMagnussonXA | bf3700b | 2020-10-05 08:39:40 +0200 | [diff] [blame] | 1 | # Copyright (C) 2020 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.0' |
| 17 | networks: |
| 18 | default: |
| 19 | external: |
| 20 | name: ${DOCKER_SIM_NWNAME} |
| 21 | services: |
| 22 | ecs: |
| 23 | image: ${ECS_IMAGE} |
| 24 | container_name: ${ECS_APP_NAME} |
| 25 | networks: |
| 26 | default: |
| 27 | aliases: |
| 28 | - ${ECS_APP_NAME_ALIAS} |
BjornMagnussonXA | 7b36db6 | 2020-11-23 10:57:57 +0100 | [diff] [blame] | 29 | volumes: |
BjornMagnussonXA | c963b73 | 2021-01-20 14:24:13 +0100 | [diff] [blame] | 30 | - ${ECS_HOST_MNT_DIR}/db:${ECS_CONTAINER_MNT_DIR} |
| 31 | - ${ECS_HOST_MNT_DIR}/$ECS_CONFIG_FILE:${ECS_CONFIG_MOUNT_PATH}/$ECS_CONFIG_FILE |
BjornMagnussonXA | bf3700b | 2020-10-05 08:39:40 +0200 | [diff] [blame] | 32 | ports: |
| 33 | - ${ECS_EXTERNAL_PORT}:${ECS_INTERNAL_PORT} |
| 34 | - ${ECS_EXTERNAL_SECURE_PORT}:${ECS_INTERNAL_SECURE_PORT} |
BjornMagnussonXA | be9a07f | 2021-02-25 10:51:46 +0100 | [diff] [blame] | 35 | labels: |
| 36 | - "nrttest_app=ECS" |
| 37 | - "nrttest_dp=${ECS_DISPLAY_NAME}" |