dgvan/pgproxy

By dgvan

Updated 11 months ago

A simple network proxy app for postgresql no pooling, no load balancing, just network proxy.

Image
Networking
Databases & storage
0

4.5K

dgvan/pgproxy repository overview

A simple network proxy app for postgresql no pooling, no load balancing, just network proxy.

run:

docker run -e PGPROXY_LISTEN=":5432" -e PGPROXY_TARGET="<target-server>:<target-port>" dgvan/pgproxy:latest

environment variables:

PGPROXY_LISTEN: address to listen on (e.g. :6432), default :6432"

PGPROXY_TARGET: upstream PostgreSQL address.

PGPROXY_DIAL_TIMEOUT: timeout for dialing upstream, default 5s.

PGPROXY_IDLE_TIMEOUT: per-connection idle timeout (0 = disabled), default disabled.

PGPROXY_KEEPALIVE: TCP keepalive period (0 = disabled), default 30s.

PGPROXY_MAX_CONNS: max concurrent client connections (0 = unlimited), default unlimited.

Tag summary

Content type

Image

Digest

sha256:15314f4f0

Size

5.6 MB

Last updated

11 months ago

docker pull dgvan/pgproxy:1.0