š³ PgBouncer ā PostgreSQL connection pooler
8.1K
Docker image for PgBouncerā , a connection pooler for PostgreSQL.
š¹ f3l1x.ioā | š» f3l1xā | š¦ @xf3l1xā
A thin republish of dhi.io/pgbouncer under the dockette/pgbouncer name on Docker Hub. Builds use
FROM dhi.io/pgbouncer:${PGBOUNCER_VERSION}, so runtime behavior matches that upstream tag.
1.26.0 on the upstream dhi.io/pgbouncer image6432docker run --name some-pgbouncer -p 6432:6432 \
-v /path/to/pgbouncer.ini:/etc/pgbouncer/pgbouncer.ini:ro \
dockette/pgbouncer:latest
Mount your pgbouncer.ini (and an optional userlist) as in the example above. A minimal pgbouncer.ini; adjust host,
auth and pool names for your setup:
[databases]
* = host=postgres port=5432
[pgbouncer]
listen_addr = 0.0.0.0
listen_port = 6432
auth_type = md5
auth_file = /etc/pgbouncer/userlist.txt
pool_mode = transaction
max_client_conn = 100
default_pool_size = 20
| Version | Release |
|---|---|
dockette/pgbouncer:1.26.0-YYYY.MM.DD | release YYYY.MM.DD; pin this one |
dockette/pgbouncer:1.26.0 | latest release |
dockette/pgbouncer:YYYY.MM.DD | release YYYY.MM.DD |
dockette/pgbouncer:latest | latest build of master |
All versions build on dhi.io/pgbouncer:1.26.0. Releases are listed on GitHubā .
A PgBouncer upgrade is a release too.
make build # build the image
make test # print the PgBouncer version
make run # run with pgbouncer.ini on port 6432 (PGBOUNCER_CONFIG, PGBOUNCER_USERLIST)
make version # print VERSION
make release # set today's date in VERSION
See how to contributeā to this package. Consider to supportā f3l1x. Thank you for using this package.
Content type
Image
Digest
sha256:dc7513cdcā¦
Size
7.3 MB
Last updated
3 days ago
docker pull dockette/pgbouncerPulls:
40
Last week