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

What should be the host name in nestjs hybrid microservice when deployed on Kubernetes – Nginx

Tech stack - nestjs - 2 microservice kubernetes - AWS EKS Ingress - nginx Hybrid const app = await NestFactory.create(AppModule); const microservice = app.connectMicroservice<MicroserviceOptions>( { transport: Transport.TCP, options: { host: process.env.TCP_HOST, port: parseInt(process.env.TCP_EVALUATION_PORT), }, }, { inheritAppConfig: true }, );…

VIEW QUESTION
Back To Top
Search