Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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
You can’t perform that action at this time.