blob: 94628fadeac9ffa74bf5ba19e2b9083ecdf64cef [file] [log] [blame]
BjornMagnussonXA80a92002020-03-19 14:31:06 +01001# ============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#
17version: '3.0'
18networks:
19 default:
20 external:
BjornMagnussonXAe0b665e2021-01-08 22:19:18 +010021 name: ${DOCKER_SIM_NWNAME}
BjornMagnussonXA80a92002020-03-19 14:31:06 +010022services:
23 control-panel:
24 image: ${CONTROL_PANEL_IMAGE}
25 container_name: ${CONTROL_PANEL_APP_NAME}
26 networks:
27 - default
28 ports:
29 - ${CONTROL_PANEL_EXTERNAL_PORT}:${CONTROL_PANEL_INTERNAL_PORT}
BjornMagnussonXAe0b665e2021-01-08 22:19:18 +010030 - ${CONTROL_PANEL_EXTERNAL_SECURE_PORT}:${CONTROL_PANEL_INTERNAL_SECURE_PORT}
BjornMagnussonXAbe9a07f2021-02-25 10:51:46 +010031 volumes:
32 - ${CONTROL_PANEL_HOST_MNT_DIR}/$CONTROL_PANEL_CONFIG_FILE:${CONTROL_PANEL_CONFIG_MOUNT_PATH}/$CONTROL_PANEL_CONFIG_FILE
33 labels:
34 - "nrttest_app=CP"
35 - "nrttest_dp=${CONTROL_PANEL_DISPLAY_NAME}"