Docker image for PgBouncer with configurable SSL parameters.
PGBOUNCER_VERSION: PgBouncer version (default:master-32)SSL_MODE: SSL mode (default:prefer)
prefer(default): use SSL if availablerequire: require SSL connectionverify-ca: verify SSL certificateverify-full: full SSL certificate verificationdisable: disable SSL
Run the local test script to verify the image works correctly:
./test-local.shThis script will:
- Build the PgBouncer image
- Start a test container
- Verify configuration is valid
- Check SSL mode settings
- Clean up test resources
The image automatically configures the server_tls_sslmode parameter based on the SSL_MODE build argument. This parameter is used in newer versions of PgBouncer for SSL configuration.
This project is licensed under the MIT License - see the LICENSE file for details.