--- /dev/null
+# ============LICENSE_START===============================================
+# Copyright (C) 2020 Nordix Foundation. All rights reserved.
+# ========================================================================
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ============LICENSE_END=================================================
+#
+version: '3.0'
+networks:
+ default:
+ external: true
+ name: ${DOCKER_SIM_NWNAME}
+services:
+ a1pms:
+ image: ${A1PMS_IMAGE}
+ container_name: ${A1PMS_APP_NAME}
+ networks:
+ default:
+ aliases:
+ - ${A1PMS_APP_NAME_ALIAS}
+ ports:
+ - ${A1PMS_EXTERNAL_PORT}:${A1PMS_INTERNAL_PORT}
+ - ${A1PMS_EXTERNAL_SECURE_PORT}:${A1PMS_INTERNAL_SECURE_PORT}
+ environment:
+ - CONSUL_HOST=${CONSUL_HOST}
+ - CONSUL_PORT=${CONSUL_INTERNAL_PORT}
+ - CONFIG_BINDING_SERVICE=${CONFIG_BINDING_SERVICE}
+ - HOSTNAME=${A1PMS_CONFIG_KEY}
+ volumes:
+ - ${A1PMS_HOST_MNT_DIR}/$A1PMS_CONFIG_FILE:${A1PMS_CONFIG_MOUNT_PATH}/$A1PMS_CONFIG_FILE
+ - ${A1PMS_HOST_MNT_DIR}/db:${A1PMS_CONTAINER_MNT_DIR}
+ labels:
+ - "nrttest_app=A1PMS"
+ - "nrttest_dp=${A1PMS_DISPLAY_NAME}"