Sign inSign up

memclutter/pgbouncer

By memclutter

•Updated over 4 years ago

Image
0

426

memclutter/pgbouncer repository overview

⁠docker-pgbouncer

The repository contains a dockerized pgbouncer.

Available base images:

  • debian:buster-slim
  • alpine:3.15.4

Available pgbouncer versions:

  • 1.14.0
  • 1.15.0
  • 1.16.0
  • 1.16.1
  • 1.17.0

⁠Environment variables & configuration

There are two ways to configure dockerized pgbouncer:

  1. Upload config files to container (path /etc/pgbouncer/pgbouncer.ini and /etc/pgbouncer/userlist.txt)
  2. Set environment variables starting with prefix PGBOUNCER_INI_*

Here are some env vars:

  • PGBOUNCER_INI_DATABASE_DSN - data source name for database, example postgresql://user:pass@host:port/dbname
  • PGBOUNCER_INI_DATABASE_HOST - hostname
  • PGBOUNCER_INI_DATABASE_USER - user
  • PGBOUNCER_INI_DATABASE_PASSWORD - password
  • PGBOUNCER_INI_DATABASE_NAME - database name
  • PGBOUNCER_INI_POOL_MODE - set pool mode
  • etc

Tag summary

Content type

Image

Digest

Size

120 MB

Last updated

over 4 years ago

docker pull memclutter/pgbouncer:1.14.0-debian-buster-slim