Skip to content

Instantly share code, notes, and snippets.

@saboyutaka
Created August 11, 2018 06:43
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save saboyutaka/47536cc370923fad8e6160120dbf2941 to your computer and use it in GitHub Desktop.
Save saboyutaka/47536cc370923fad8e6160120dbf2941 to your computer and use it in GitHub Desktop.
docker-compose for mitmproxy
version: '3'
services:
nginx:
image: nginx
ports:
- 80:80
mitmweb:
image: mitmproxy/mitmproxy
tty: true
ports:
- 8080:8080
- 8081:8081
command: mitmweb --web-iface 0.0.0.0 --mode reverse:http://nginx/
depends_on:
- nginx
mitmdump:
image: mitmproxy/mitmproxy
command: mitmdump -nC /home/mitmproxy/flows
depends_on:
- nginx
volumes:
- ./mitmproxy:/home/mitmproxy/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment