blob: 02f80a31bb7da25ba45d4257df93e41aefa4ee04 [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#
17
18version: '3.0'
19networks:
20 default:
21 external:
22 name: ${DOCKER_SIM_NWNAME}
23services:
BjornMagnussonXAe0b665e2021-01-08 22:19:18 +010024 mr-stub:
BjornMagnussonXA80a92002020-03-19 14:31:06 +010025 networks:
26 - default
BjornMagnussonXAe0b665e2021-01-08 22:19:18 +010027 container_name: ${MR_STUB_APP_NAME}
BjornMagnussonXA80a92002020-03-19 14:31:06 +010028 image: ${MRSTUB_IMAGE}
29 ports:
BjornMagnussonXAe0b665e2021-01-08 22:19:18 +010030 - ${MR_STUB_LOCALHOST_PORT}:${MR_INTERNAL_PORT}
31 - ${MR_STUB_LOCALHOST_SECURE_PORT}:${MR_INTERNAL_SECURE_PORT}
BjornMagnussonXA72667f12020-04-24 09:20:18 +020032 volumes:
BjornMagnussonXAe0b665e2021-01-08 22:19:18 +010033 - ${MR_STUB_CERT_MOUNT_DIR}:/usr/src/app/cert:ro
34 environment:
35 - TOPIC_READ=${TOPIC_READ}
36 - TOPIC_WRITE=${TOPIC_WRITE}