Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/elubow/docker-python-proxy
Docker man-in-the-middle proxy
https://github.com/elubow/docker-python-proxy
docker dockerfile proxy python3
Last synced: 28 days ago
JSON representation
Docker man-in-the-middle proxy
- Host: GitHub
- URL: https://github.com/elubow/docker-python-proxy
- Owner: elubow
- Created: 2017-10-19T19:00:07.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-10-23T14:20:16.000Z (over 7 years ago)
- Last Synced: 2025-01-09T23:44:29.974Z (about 1 month ago)
- Topics: docker, dockerfile, proxy, python3
- Language: Python
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
docker-python-proxy
===================
This is a man-in-the-middle proxy using Python 3. The proxy is from https://github.com/philippelt/simple_proxy.You can install this from docker.io/elubow/docker-python-proxy
## Environment Variables
`PROXY_SSL` - set this to 1 to enable SSL support in the proxy
`PROXY_TARGET` - location that is being proxied to `universe.mesosphere.com`
`PROXY_LOCAL` - local host and port binding. Defaults to `localhost:8880`, but you probably want `0.0.0.0:8080`.## Docker Environment
Assuming you setup your environment variables properly, you can start your container as follows:```
$ docker run -p 8880:8880 elubow/docker-python-proxy
```
or
```
$ docker run -e PROXY_SSL=1 -e PROXY_TARGET=universe.mesosphere.com -e PROXY_LOCAL=0.0.0.0:8880 \
-p 8880:8880 elubow/docker-python-proxy
```