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

AKS Pod can't be accessed by External IP – Docker

apiVersion: apps/v1 kind: Deployment metadata: name: organization-deployment labels: app: organization spec: selector: matchLabels: app: organization template: metadata: labels: app: organization spec: containers: - name: organization-container image: test.azurecr.io/organizationservice:latest ports: - containerPort: 9080 imagePullSecrets: - name: guidesecret # service type loadbalancer ---…

VIEW QUESTION
Back To Top
Search