Skip to content
dockettePublic

About

🐳 PgBouncer β€” PostgreSQL connection pooler

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

Β 

History

8 Commits

Folders and files

NameName
Last commit message
Last commit date
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Dockette / PgBouncer

Docker image for PgBouncer, a connection pooler for PostgreSQL.

πŸ•Ή f3l1x.io | πŸ’» f3l1x | 🐦 @xf3l1x

GitHub Actions Docker Hub pulls GitHub Sponsors Support/Discussions


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.

Features

  • PgBouncer 1.26.0 on the upstream dhi.io/pgbouncer image
  • Pool port 6432
  • Config and userlist come from mounted files

Usage

docker run --name some-pgbouncer -p 6432:6432 \
  -v /path/to/pgbouncer.ini:/etc/pgbouncer/pgbouncer.ini:ro \
  dockette/pgbouncer:latest

Configuration

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

Versions

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.

Development

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

Maintenance

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

About

🐳 PgBouncer β€” PostgreSQL connection pooler

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages