feat(docker): Integrate PgBouncer for connection poolingAdd PgBouncer service to the docker-compose setup for improved database connection management. Update .env.example to include new PgBouncer environment variables and service inclusion. Add PgBouncer profiles and tags to docker-compose.yml and override files for local and production configurations. Include PgBouncer initialization script for database user setup

This commit is contained in:
Fabio Tielen // Code Agency
2024-01-20 17:55:25 +01:00
parent 7568dbc44f
commit 9d13ed0db1
5 changed files with 57 additions and 1 deletions

View File

@@ -12,6 +12,11 @@ services:
ports:
- 127.0.0.1:5432:5432
pgbouncer:
restart: unless-stopped
ports:
- 127.0.0.1=5432:5432
nginx:
restart: unless-stopped