blob: c27ba5ebd4417bdd5c69c3f7bb71800d91f404d9 [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 httpproxy:
BjornMagnussonXA80a92002020-03-19 14:31:06 +010025 networks:
26 - default
BjornMagnussonXAe0b665e2021-01-08 22:19:18 +010027 container_name: ${HTTP_PROXY_APP_NAME}
28 image: ${HTTP_PROXY_IMAGE}
BjornMagnussonXA80a92002020-03-19 14:31:06 +010029 ports:
BjornMagnussonXA674793d2021-05-06 19:49:17 +020030 - ${HTTP_PROXY_EXTERNAL_PORT}:${HTTP_PROXY_INTERNAL_PORT}
31 - ${HTTP_PROXY_EXTERNAL_SECURE_PORT}:${HTTP_PROXY_INTERNAL_SECURE_PORT}
BjornMagnussonXAbe9a07f2021-02-25 10:51:46 +010032 - ${HTTP_PROXY_WEB_EXTERNAL_PORT}:${HTTP_PROXY_WEB_INTERNAL_PORT}
BjornMagnussonXA674793d2021-05-06 19:49:17 +020033 - ${HTTP_PROXY_WEB_EXTERNAL_SECURE_PORT}:${HTTP_PROXY_WEB_INTERNAL_SECURE_PORT}
BjornMagnussonXAbe9a07f2021-02-25 10:51:46 +010034 labels:
35 - "nrttest_app=HTTPPROXY"
36 - "nrttest_dp=${HTTP_PROXY_DISPLAY_NAME}"