Move mitmproxy to extra file

This commit is contained in:
Martin Lablans 2023-04-24 11:54:13 +02:00
parent d9e388c73c
commit e13e42a54e
2 changed files with 13 additions and 7 deletions

View File

@ -1,13 +1,6 @@
version: "3.7"
services:
# mitmproxy:
# image: mitmproxy/mitmproxy
# stop_signal: SIGKILL
# command: mitmweb --web-host 0.0.0.0 --web-port 9090
# ports:
# - 9090:9090
traefik:
container_name: bridgehead-traefik
image: docker.verbis.dkfz.de/cache/traefik:latest

13
snap/mitmproxy.yml Normal file
View File

@ -0,0 +1,13 @@
version: "3.7"
services:
mitmproxy:
image: mitmproxy/mitmproxy
stop_signal: SIGKILL
command: mitmweb --web-host 0.0.0.0 --web-port 9090
ports:
- 9090:9090
spot:
environment:
MITM_PROXY: http://mitmproxy:8080 --> set like this in override if needed