Minimal Docker image for PgBouncerā , a connection pooler for PostgreSQL. This tag mirrors dhi.io/pgbouncer under the dockette/pgbouncer name on Docker Hub.
š¹ f3l1x.ioā | š» f3l1xā | š¦ @xf3l1xā
Mount your pgbouncer.ini (and optional userlist) and expose the pool port (default 6432):
docker run --name some-pgbouncer -p 6432:6432 \
-v /path/to/pgbouncer.ini:/etc/pgbouncer/pgbouncer.ini:ro \
dockette/pgbouncer:1.25.1
Minimal pgbouncer.ini sketch (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
| Image tag | Equivalent upstream | Docker Hub |
|---|---|---|
dockette/pgbouncer:1.25.1 | dhi.io/pgbouncer:1.25.1 | tagsā |
dockette/pgbouncer:latest | same as 1.25.1 (rolling) | tagsā |
The image is a thin republish: builds use FROM dhi.io/pgbouncer:${PGBOUNCER_VERSION} so runtime behavior matches that upstream tag.
See how to contributeā to this package. Consider to supportā f3l1x. Thank you for using this package.
Content type
Image
Digest
sha256:464510160ā¦
Size
11.2 MB
Last updated
6 days ago
docker pull dockette/pgbouncerPulls:
36
Last week