A simple container for temporary port forwards using haproxy.
144
A simple container for temporary port forwards using haproxy.
Requires the following ENV variables:
Values are plugged into the haproxy.conf:
listen l1
bind 0.0.0.0:$INCOMING_PORT
mode tcp
timeout connect 4000
timeout client 180000
timeout server 180000
server srv1 $HOST:$HOST_PORT
docker run \
--name mysql_proxy \
-p 33060:33060 \
-e INCOMING_PORT=33060 \
-e HOST=192.168.9.161 \
-e HOST_PORT=3306 \
provisional-proxy:latest
Content type
Image
Digest
Size
36.6 MB
Last updated
about 8 years ago
docker pull sarcastron/provisional-proxy:1.0.1