Skip to content

plangrid/docker-pgbouncer

 
 

Repository files navigation

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

About

PostgreSQL Connection Pooler in Docker.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 61.3%
  • Shell 38.7%