From 68e03b95dc01bcd2cad8a84ee5c4ae33c938971b Mon Sep 17 00:00:00 2001 From: Yury Kossakovsky Date: Thu, 28 Aug 2025 11:26:31 -0600 Subject: [PATCH] Update PostgreSQL configuration in .env.example and final report script - Changed POSTGRES_HOST value in .env.example from 'db' to 'postgres' for clarity. - Enhanced the final report script to display detailed PostgreSQL backup target information, including version, host, port, username, password, and database name. --- .env.example | 3 +-- scripts/06_final_report.sh | 9 ++++++++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/.env.example b/.env.example index 7c44a2f..deef6ca 100644 --- a/.env.example +++ b/.env.example @@ -203,10 +203,9 @@ RAGAPP_PASSWORD= # Database - You can change these to any PostgreSQL database that has logical replication enabled. ############ -POSTGRES_HOST=db POSTGRES_DB=postgres +POSTGRES_HOST=postgres POSTGRES_PORT=5432 -# default user is postgres POSTGRES_USER=postgres ############ diff --git a/scripts/06_final_report.sh b/scripts/06_final_report.sh index f8317f0..1a37736 100755 --- a/scripts/06_final_report.sh +++ b/scripts/06_final_report.sh @@ -150,7 +150,14 @@ if is_profile_active "postgresus"; then echo "Host: ${POSTGRESUS_HOSTNAME:-}" echo "UI (external via Caddy): https://${POSTGRESUS_HOSTNAME:-}" echo "UI (internal): http://postgresus:4005" - echo "To back up internal PostgreSQL: host=postgres, port=5432, user=postgres, password=${POSTGRES_PASSWORD:-}" + echo "------ Backup Target (internal PostgreSQL) ------" + echo "PG version: ${POSTGRES_VERSION:-17}" + echo "Host: ${POSTGRES_HOST:-postgres}" + echo "Port: ${POSTGRES_PORT:-5432}" + echo "Username: ${POSTGRES_USER:-postgres}" + echo "Password: ${POSTGRES_PASSWORD:-}" + echo "DB name: ${POSTGRES_DB:-postgres}" + echo "Use HTTPS: false" fi if is_profile_active "ragapp"; then