Sign inSign up

kotaimen/pgbouncer

By kotaimen

Updated over 7 years ago

PostgreSQL connection pooler.

Image
4

100K+

kotaimen/pgbouncer repository overview

Pgbouncer

PostgreSQL connection pooler.

Simple out-of-box pgbouncer for debian.

Tags

  • latest: Same as debian-jessie.
  • debian-jessie: pgbouncer-1.5.4 on debian:jessie (Dockerfile)

Usage

Mount your configuration directory as a volume:

docker run -v <pgbouncer_config_dir>:/etc/pgbouncer:ro pgbouncer

You can use supplied config files, which are copied from a fresh debian installation. Also check pgbouncer's official config file documentation.

By default, pgbouncer writes logs to:

/var/log/postgresql/

And listens on:

0.0.0.0:6432

Docker-compose:

pgbouncer:
  image: kotaimen/pgbouncer
  ports:
    - "6432:6432"
  volumes:
    - ./etc/pgbouncer:/etc/pgbouncer:ro
    - ./log/postgresql:/var/log/postgresql:rw
  restart: always

Tag summary

Content type

Image

Digest

sha256:ecb490fd7

Size

55 MB

Last updated

over 7 years ago

docker pull kotaimen/pgbouncer