HUB
Sign inSign up
marathon-tcp-haproxy logo

bobrik/marathon-tcp-haproxy

By bobrik

•Updated about 11 years ago

Image
2

500K+

bobrik/marathon-tcp-haproxy repository overview

⁠Haproxy as tcp proxy for marathon

⁠Deprecation notice

This project is deprecated in favor of much more robust and reliable marathoner⁠.

⁠Haproxy for marathon in docker

This is dockerized version of haproxy for marathon.

Haproxy allows you to allocate port number in marathon and autmatically proxy all connections to your port on loopback interface to instances running anywhere on mesos.

It is a good idea to run this on every mesos slave.

⁠Usage

docker run -d --net=host -e RELOAD_TTL=10 -e DISCOVERY_URL=localhost:8080 bobrik/marathon-tcp-haproxy

Here RELOAD_TTL is interval to check marathon for new port mappings and DISCOVERY_URL is marathon host and port.

You can also set HAPROXY_HOST to specify ip address for haproxy (127.0.0.1 by default).

Tag summary
Recent tags
Content type
Image
Digest
sha256:d9347ced5…
Size
57.3 MB
Last updated
about 11 years ago
docker pull bobrik/marathon-tcp-haproxy:latest