A mashup of mitmproxy and jderusse/docker-dns-gen
1.9K
A mashup of mitmproxy and jderusse/docker-dns-gen
Why:
/etc/hosts" when developing web resourcesRequirements:
127.0.0.1docker.sockmitmproxy.proxyVirtualHosts=true labelMinimal example:
version: '3.3'
services:
nginx-proxy-mitm:
image: hypery2k/mitm-nginx-proxy-companion
ports:
- "8080:8080"
dns:
- 127.0.0.1
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
nginx-proxy:
image: nginxproxy/nginx-proxy:latest
labels:
- "mitmproxy.proxyVirtualHosts=true"
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
example-one:
environment:
VIRTUAL_HOST: example-one.com
image: nginx:alpine
docker-compose up127.0.0.1:8080http://example-one.comSee more on GitHub
Content type
Image
Digest
sha256:3ed8f8bc7…
Size
381.7 MB
Last updated
over 2 years ago
docker pull hypery2k/mitm-nginx-proxy-companion