This is a PgBouncer container for best-friends.chat.
docker pull ghcr.io/best-friends/pgbouncer:latest
- Set up required environment variables
- Run the container as you like
POSTGRES_DB
: The database name of PostgreSQLPOSTGRES_HOST
: The host of PostgreSQLPOSTGRES_PORT
: The port of PostgreSQLPOSTGRES_USER
: The user name of PostgreSQLPOSTGRES_PASSWORD
: The password of PostgreSQL
PGBOUNCER_USER
/PGBOUNCER_PASS
: The user name and password of PgBouncer's user (default:POSTGRES_USER
andPOSTGRES_PASSWORD
)PGBOUNCER_ADMIN_USER
/PGBOUNCER_ADMIN_PASS
: The user name and password of PgBouncer's admin user (default:PGBOUNCER_USER
andPGBOUNCER_PASS
)PGBOUNCER_STATS_USER
/PGBOUNCER_STATS_PASS
: The user name and password of PgBouncer's stats user (default:PGBOUNCER_USER
andPGBOUNCER_PASS
)
see entrypoint.sh and PgBouncer documents.
MIT License