fixed containers build with pgbouncer

This commit is contained in:
Yhael S
2024-07-15 22:27:17 -06:00
parent d0bfa83653
commit bf0448db33
4 changed files with 12 additions and 12 deletions

View File

@@ -88,14 +88,14 @@ services:
container_name: pgbouncer
restart: always
depends_on:
- db
- postgres
environment:
- DB_HOST=db
- DB_USER=odoo
- DB_PASSWORD=odoo
- MAX_CLIENT_CONN=500
- POOL_MODE=transaction
- ADMIN_USERS=postgres,dbuser,odoo
- DB_HOST=${DB_HOST}
- DB_USER=${DB_USER}
- DB_PASSWORD=${DB_PASSWORD}
- MAX_CLIENT_CONN=${MAX_CLIENT_CONN}
- POOL_MODE=${POOL_MODE}
- ADMIN_USERS=${ADMIN_USERS}
profiles: [$PGBOUNCER_PROFILES]
nginx: