Sign inSign up

meandmymonkey/simpleproxy

By meandmymonkey

•Updated almost 11 years ago

Image
0

243

meandmymonkey/simpleproxy repository overview

⁠meandmymonkey/simpleproxy

Publish linked containers as name-based hosts.

This container provides a basic HTTP reverse proxy for simple use cases and experiments. It makes the single assumption that connected containers publish their services on internal port 80.

⁠Usage

Hosts are configured by setting the environment variable PROXY_MAP to a JSON formatted string mapping linked container names to host names:

docker run -d -p 80:80 \
    -e PROXY_MAP='{"app1": "foo.com", "app2": "bar.net"}' \
    --link somecontainer:app1 --link anothercontainer:app2 \
    meandmymonkey/simpleproxy

Tag summary

Content type

Image

Digest

sha256:1de01ffe0…

Size

111.7 MB

Last updated

almost 11 years ago

docker pull meandmymonkey/simpleproxy