{"id":14973876,"url":"https://github.com/hyperized/pgbouncer-docker","last_synced_at":"2025-10-27T03:30:53.545Z","repository":{"id":85139073,"uuid":"156354168","full_name":"hyperized/pgbouncer-docker","owner":"hyperized","description":"A small (~11MB) Alpine based PgBouncer Docker image","archived":false,"fork":false,"pushed_at":"2024-08-02T09:17:29.000Z","size":30,"stargazers_count":14,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-09-28T18:05:03.972Z","etag":null,"topics":["alpine","docker","pgbouncer","psql"],"latest_commit_sha":null,"homepage":"","language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/hyperized.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-11-06T08:53:07.000Z","updated_at":"2024-08-02T09:09:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"eaa70020-94c8-44d4-8c9a-d406393fea62","html_url":"https://github.com/hyperized/pgbouncer-docker","commit_stats":null,"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperized%2Fpgbouncer-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperized%2Fpgbouncer-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperized%2Fpgbouncer-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/hyperized%2Fpgbouncer-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/hyperized","download_url":"https://codeload.github.com/hyperized/pgbouncer-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":219861968,"owners_count":16555980,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["alpine","docker","pgbouncer","psql"],"created_at":"2024-09-24T13:49:37.271Z","updated_at":"2025-10-27T03:30:53.540Z","avatar_url":"https://github.com/hyperized.png","language":"Dockerfile","readme":"# [pgbouncer-docker](https://github.com/hyperized/pgbouncer-docker)\nA small Alpine based pgbouncer Docker image\n\n## To pull container\n\n```docker pull hyperized/pgbouncer```\n\n## To build container\n\n```docker build -t hyperized/pgbouncer .```\n\n## To run container \n\n```docker run -v $(pwd):/m -p 6543:6543 hyperized/pgbouncer /m/example.ini```\n\n## To run container with TLS to PostgreSQL server\n\nCommonly used with PHP as local connection pool to eliminate TLS overhead.\n\nExpects `ca.crt`, `key.pem` and `cert.pem` to be present in current folder.\n\nSee `tls.ini` for details\n\n```docker run -v $(pwd):/m -p 6543:6543 hyperized/pgbouncer /m/tls.ini```\n\nExpect output to be like:\n\n```shell script\n2025-04-16 19:19:36.846 UTC [1] LOG kernel file descriptor limit: 1048576 (hard: 1048576); max_client_conn: 100, max expected fd use: 152\n2025-04-16 19:19:36.846 UTC [1] LOG listening on 0.0.0.0:6543\n2025-04-16 19:19:36.847 UTC [1] LOG listening on unix:/tmp/.s.PGSQL.6543\n2025-04-16 19:19:36.847 UTC [1] LOG process up: PgBouncer 1.24.1, libevent 2.1.12-stable (epoll), adns: c-ares 1.34.5, tls: OpenSSL 3.3.3 11 Feb 2025\n```\n\nTo log in with this example:\n\n```\npsql -h 127.0.0.1 -p 6543 -U user@secure pgbouncer\n```\n\nwith the password `mypass` (as described in `password.txt`)\n\n## To show stats\n\n```\npsql -h 127.0.0.1 -p 6543 pgbouncer\n\npsql (17.2, server 1.24.1/bouncer)\nType \"help\" for help.\n\npgbouncer=# SHOW STATS;\n```\n\n## Reference\n\nDocker hub: https://hub.docker.com/r/hyperized/pgbouncer\n\nGithub: https://github.com/hyperized/pgbouncer-docker\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperized%2Fpgbouncer-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhyperized%2Fpgbouncer-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhyperized%2Fpgbouncer-docker/lists"}