mirror of
https://github.com/kossakovsky/n8n-install.git
synced 2026-03-07 14:23:08 +00:00
refactor: integrate worker-runner generation into install/update flow
update configure services to call generate_n8n_workers.sh instead of prompting for separate runner count. update start_services.py and apply_update.sh to include docker-compose.n8n-workers.yml when present.
This commit is contained in:
@@ -57,6 +57,12 @@ log_success "Service configuration completed."
|
||||
log_info "Pulling latest versions of selected containers..."
|
||||
COMPOSE_FILES_FOR_PULL=("-f" "$PROJECT_ROOT/docker-compose.yml")
|
||||
|
||||
# Check if n8n workers file exists (generated by 05_configure_services.sh)
|
||||
N8N_WORKERS_COMPOSE_FILE="$PROJECT_ROOT/docker-compose.n8n-workers.yml"
|
||||
if [ -f "$N8N_WORKERS_COMPOSE_FILE" ]; then
|
||||
COMPOSE_FILES_FOR_PULL+=("-f" "$N8N_WORKERS_COMPOSE_FILE")
|
||||
fi
|
||||
|
||||
# Check if Supabase directory and its docker-compose.yml exist
|
||||
SUPABASE_DOCKER_DIR="$PROJECT_ROOT/supabase/docker"
|
||||
SUPABASE_COMPOSE_FILE_PATH="$SUPABASE_DOCKER_DIR/docker-compose.yml"
|
||||
|
||||
Reference in New Issue
Block a user