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.
This commit is contained in:
Yury Kossakovsky
2025-08-28 11:26:31 -06:00
parent f1c249167b
commit 68e03b95dc
2 changed files with 9 additions and 3 deletions

View File

@@ -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
############

View File

@@ -150,7 +150,14 @@ if is_profile_active "postgresus"; then
echo "Host: ${POSTGRESUS_HOSTNAME:-<hostname_not_set>}"
echo "UI (external via Caddy): https://${POSTGRESUS_HOSTNAME:-<hostname_not_set>}"
echo "UI (internal): http://postgresus:4005"
echo "To back up internal PostgreSQL: host=postgres, port=5432, user=postgres, password=${POSTGRES_PASSWORD:-<not_set_in_env>}"
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:-<not_set_in_env>}"
echo "DB name: ${POSTGRES_DB:-postgres}"
echo "Use HTTPS: false"
fi
if is_profile_active "ragapp"; then