mirror of
https://github.com/kossakovsky/n8n-install.git
synced 2026-03-07 22:33:11 +00:00
Enhance service selection wizard and update PaddleOCR details in final report
- Adjusted the service selection wizard to dynamically set the height of the checklist based on the number of services. - Updated final report script to provide clearer API access information for PaddleOCR, distinguishing between external and internal access.
This commit is contained in:
@@ -105,8 +105,10 @@ while [ $idx -lt ${#base_services_data[@]} ]; do
|
||||
done
|
||||
|
||||
# Use whiptail to display the checklist
|
||||
num_services=$(( ${#services[@]} / 3 ))
|
||||
list_height=$(( num_services + 4 ))
|
||||
CHOICES=$(whiptail --title "Service Selection Wizard" --checklist \
|
||||
"Choose the services you want to deploy.\nUse ARROW KEYS to navigate, SPACEBAR to select/deselect, ENTER to confirm." 32 90 22 \
|
||||
"Choose the services you want to deploy.\nUse ARROW KEYS to navigate, SPACEBAR to select/deselect, ENTER to confirm." 32 90 $list_height \
|
||||
"${services[@]}" \
|
||||
3>&1 1>&2 2>&3)
|
||||
|
||||
|
||||
@@ -200,7 +200,8 @@ if is_profile_active "paddleocr"; then
|
||||
echo "================================= PaddleOCR ==========================="
|
||||
echo
|
||||
echo "Host: ${PADDLEOCR_HOSTNAME:-<hostname_not_set>}"
|
||||
echo "Internal Access (HTTP): http://paddleocr:8080"
|
||||
echo "API (external via Caddy): https://${PADDLEOCR_HOSTNAME:-<hostname_not_set>}"
|
||||
echo "API (internal): http://paddleocr:8080"
|
||||
echo "Notes: PaddleX Basic Serving (CPU), pipeline=OCR"
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user