1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-23 01:39:27 +02:00

add mitmproxy

This commit is contained in:
kev 2021-09-07 18:48:28 +08:00
parent 5836e30a3f
commit d18d79b475
3 changed files with 23 additions and 1 deletions

View File

@ -28,7 +28,6 @@ A collection of delicious docker recipes.
- [ ] ipset
- [ ] irc
- [ ] libreswan
- [ ] mitmproxy
- [ ] nagios
- [ ] openswan
- [ ] postfix
@ -342,6 +341,7 @@ A collection of delicious docker recipes.
- [x] mailhog/mailhog
- [x] tootsuite/mastodon
- [x] getmeili/meilisearch :mag:
- [x] mitmproxy/mitmproxy
- [x] deluan/navidrome :musical_note:
- [x] netdata/netdata
- [x] nextcloud

11
mitmproxy/README.md Normal file
View File

@ -0,0 +1,11 @@
mitmproxy
=========
[mitmproxy][1] is a free and open source interactive HTTPS proxy.
```bash
$ docker-compose up -d
$ curl --proxy 127.0.0.1:8080 --cacert data/mitmproxy-ca-cert.pem https://www.google.com
```
[1]: https://mitmproxy.org/

View File

@ -0,0 +1,11 @@
version: "3.8"
services:
mitmproxy:
image: mitmproxy/mitmproxy
command: mitmweb --web-host 0.0.0.0
ports:
- "8080:8080"
- "8081:8081"
volumes:
- ./data:/home/mitmproxy/.mitmproxy
restart: unless-stopped