Skip to content

dockette/pgbouncer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

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


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 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.


Consider supporting f3l1x on GitHub Sponsors if you rely on this. Thanks for using it.

About

🐳 Dockerized PgBouncer

Resources

Code of conduct

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors