aboutsummaryrefslogtreecommitdiffstats
path: root/compose/base/proxy.yml
blob: 06b5b7d5a88fc94c2f9ce5a6c2ef50db632c2b23 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
services:
  proxy:
    image: mitmproxy/mitmproxy
    entrypoint: ["mitmweb"]
    command: >
      --web-host 0.0.0.0
      --listen-port 9090
      -s /addons/capture.py
      --set confdir=/mitmproxy-data
    ports:
      - "${PROXY_WEB_PORT:-8081}:8080"
      - "${PROXY_PORT:-9090}:9090"
    volumes:
      - ../../test/mitmproxy:/addons:ro
      - ../../test/mitmproxy-data:/mitmproxy-data
      - ../../test/captures:/captures