Sign inSign up

dockette/pgbouncer

Sponsored OSS

By dockette

•Updated 6 days ago

Image
0

7.1K

dockette/pgbouncer repository overview

⁠Dockette / PgBouncer

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⁠

GitHub Actions Docker Hub pulls GitHub Sponsors Support/Discussions


⁠Usage

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

⁠Versions

Image tagEquivalent upstreamDocker Hub
dockette/pgbouncer:1.25.1dhi.io/pgbouncer:1.25.1tags⁠
dockette/pgbouncer:latestsame 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.

⁠Maintenance

See how to contribute⁠ to this package. Consider to support⁠ f3l1x. Thank you for using this package.

Tag summary

Content type

Image

Digest

sha256:464510160…

Size

11.2 MB

Last updated

6 days ago

docker pull dockette/pgbouncer

This week's pulls

Pulls:

36

Last week