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: 5 months 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 (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-10-23T14:20:16.000Z (about 8 years ago)
- Last Synced: 2025-07-08T06:04:22.649Z (5 months ago)
- Topics: docker, dockerfile, proxy, python3
- Language: Python
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- 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
```