9cb929cfe511d94a63821189417acec4308f7d7b
[nonrtric.git] / test / simulator-group / dmaapmed / docker-compose.yml
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 version: '3.0'
18 networks:
19   default:
20     external: true
21     name: ${DOCKER_SIM_NWNAME}
22 services:
23   dmaap-mediator-service:
24     image: ${DMAAP_MED_IMAGE}
25     container_name: ${DMAAP_MED_APP_NAME}
26
27     ports:
28     - ${DMAAP_MED_EXTERNAL_PORT}:${DMAAP_MED_INTERNAL_PORT}
29     - ${DMAAP_MED_EXTERNAL_SECURE_PORT}:${DMAAP_MED_INTERNAL_SECURE_PORT}
30     environment:
31       - INFO_PRODUCER_HOST=${DMAAP_MED_CONF_SELF_HOST}
32       - INFO_PRODUCER_PORT=${DMAAP_MED_CONF_SELF_PORT}
33       - INFO_COORD_ADDR=${ICS_SERVICE_PATH}
34       - DMAAP_MR_ADDR=${MR_SERVICE_PATH}
35       - LOG_LEVEL=Debug
36     volumes:
37     - ${DMAAP_MED_HOST_MNT_DIR}/$DMAAP_MED_DATA_FILE:${DMAAP_MED_DATA_MOUNT_PATH}/$DMAAP_MED_DATA_FILE
38     labels:
39       - "nrttest_app=DMAAPMED"
40       - "nrttest_dp=${DMAAP_MED_DISPLAY_NAME}"