i have this docker-compose.yml file db: image: "postgres:12" restart: always volumes: -…
- User
i have this docker-compose.yml file
db: image: "postgres:12" restart: always volumes: - pgdata:/var/lib/postgresql/data environment: - "POSTGRES_PASSWORD=password"
how to add bitnami/pgbpuncer to this configuration, on port 6432
- Assistant
To add Bitnami's PgBouncer to your Docker Compose configuration, you need to define a new service for
pgbouncerin yourdocker-compose.ymlfile. PgBouncer will act as a connection pool for your PostgreSQL database.