mirror of
http://172.20.10.11:3000/gitadmin/INSIGHT-MVP.git
synced 2026-06-24 22:46:39 +02:00
fix: correct PgBouncer port to 5432 (image default)
The edoburu/pgbouncer image listens on port 5432 internally, not 6432. Updated healthcheck and DATABASE_URL accordingly. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
parent
5412ae137a
commit
8660966c9e
2 changed files with 3 additions and 3 deletions
|
|
@ -14,7 +14,7 @@ LOG_LEVEL=info
|
|||
|
||||
# --- PostgreSQL ---
|
||||
DB_HOST=pgbouncer
|
||||
DB_PORT=6432
|
||||
DB_PORT=5432
|
||||
DB_USER=insight
|
||||
DB_PASSWORD= # Sicheres Passwort setzen!
|
||||
DB_NAME=platform_core
|
||||
|
|
|
|||
|
|
@ -149,7 +149,7 @@ services:
|
|||
postgres:
|
||||
condition: service_healthy
|
||||
healthcheck:
|
||||
test: ["CMD-SHELL", "pg_isready -h 127.0.0.1 -p 6432"]
|
||||
test: ["CMD-SHELL", "pg_isready -h 127.0.0.1 -p 5432"]
|
||||
interval: 10s
|
||||
timeout: 5s
|
||||
retries: 3
|
||||
|
|
@ -222,7 +222,7 @@ services:
|
|||
FRONTEND_URL: ${FRONTEND_URL:-http://172.20.10.59}
|
||||
LOG_LEVEL: ${LOG_LEVEL:-info}
|
||||
# Database (via PgBouncer)
|
||||
DATABASE_URL: "postgresql://${DB_USER:-insight}:${DB_PASSWORD}@pgbouncer:6432/${DB_NAME:-platform_core}"
|
||||
DATABASE_URL: "postgresql://${DB_USER:-insight}:${DB_PASSWORD}@pgbouncer:5432/${DB_NAME:-platform_core}"
|
||||
# Database (direkt fuer Migrations)
|
||||
DATABASE_URL_DIRECT: "postgresql://${DB_USER:-insight}:${DB_PASSWORD}@postgres:5432/${DB_NAME:-platform_core}"
|
||||
# Redis
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue