blob: ff4243b785b127434dad1be5593e551bd704ad7d [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}
29 tty: true
30 command: mitmweb --web-host 0.0.0.0 --no-web-open-browser --set ssl_insecure
BjornMagnussonXA80a92002020-03-19 14:31:06 +010031 ports:
BjornMagnussonXAbe9a07f2021-02-25 10:51:46 +010032 - ${HTTP_PROXY_WEB_EXTERNAL_PORT}:${HTTP_PROXY_WEB_INTERNAL_PORT}
33 labels:
34 - "nrttest_app=HTTPPROXY"
35 - "nrttest_dp=${HTTP_PROXY_DISPLAY_NAME}"