mirror of
https://github.com/kossakovsky/n8n-install.git
synced 2026-03-07 22:33:11 +00:00
Refactor logging and user prompts in installation and wizard scripts
- Enhanced user feedback by replacing echo statements with log_info and log_error for better consistency in logging. - Added empty echo statements before user prompts in 03_generate_secrets.sh to improve readability. - Removed unnecessary log messages related to Caddy installation and uninstallation in 03_generate_secrets.sh. - Updated 04_wizard.sh to include utility sourcing and improved logging for service selection and profile updates. - Streamlined apply_update.sh by removing redundant log messages regarding Supabase compose file checks.
This commit is contained in:
@@ -7,7 +7,6 @@ source "$(dirname "$0")/utils.sh"
|
||||
|
||||
# Set the compose command explicitly to use docker compose subcommand
|
||||
COMPOSE_CMD="docker compose"
|
||||
log_info "Using $COMPOSE_CMD as compose command for update application"
|
||||
|
||||
# Navigate to the directory where this script is located
|
||||
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )"
|
||||
@@ -56,9 +55,6 @@ SUPABASE_COMPOSE_FILE_PATH="$SUPABASE_DOCKER_DIR/docker-compose.yml"
|
||||
# Check if Supabase directory and its docker-compose.yml exist
|
||||
if [ -d "$SUPABASE_DOCKER_DIR" ] && [ -f "$SUPABASE_COMPOSE_FILE_PATH" ]; then
|
||||
COMPOSE_FILES_FOR_PULL+=("-f" "$SUPABASE_COMPOSE_FILE_PATH")
|
||||
log_info "Supabase docker-compose.yml found, will be included for pull if Supabase is selected."
|
||||
else
|
||||
log_info "Supabase docker-compose.yml not found or directory does not exist, skipping for pull consideration."
|
||||
fi
|
||||
|
||||
# Use the project name "localai" for consistency.
|
||||
|
||||
Reference in New Issue
Block a user