skip to Main Content

Configure pgbouncer and postgresql in docker-compose

How can I apply connection pooling with pgbouncer in my docker-compose file. I don't know if the ConnectionString of my containers are correct or not. postgredb: image: postgres environment: - POSTGRES_USER=dbuser - POSTGRES_PASSWORD=dbpassword - POSTGRES_DB=postgres restart: always volumes: - pg-data:/var/lib/postgresql/data/…

VIEW QUESTION
Back To Top
Search