mirror of
https://github.com/kossakovsky/n8n-install.git
synced 2026-03-08 06:43:22 +00:00
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:
@@ -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
|
||||
|
||||
############
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user