From e66b9501bd7583136ef01a1e2678f4792358c30b Mon Sep 17 00:00:00 2001 From: accusys Date: Mon, 16 Mar 2026 15:43:41 +0800 Subject: [PATCH] docs: Add version quick reference sections - Add version summary table to SERVICES.md - Add version quick reference to PYTHON.md - Add version quick reference to NODEJS.md - Update related documents references --- docs/NODEJS.md | 10 ++++++++++ docs/PYTHON.md | 11 +++++++++++ docs/SERVICES.md | 29 +++++++++++++++++------------ 3 files changed, 38 insertions(+), 12 deletions(-) diff --git a/docs/NODEJS.md b/docs/NODEJS.md index 8c9bb61..b6e4d7d 100644 --- a/docs/NODEJS.md +++ b/docs/NODEJS.md @@ -416,8 +416,18 @@ lsof -p | grep "txt" | grep node --- +## 版本速查 + +| 版本 | 用途 | 路徑 | +|------|------|------| +| 22.22.1 | n8n 專用 | /opt/homebrew/opt/node@22/bin/node | +| 25.x | 系統預設 | /opt/homebrew/bin/node | + +--- + ## 相關文件 - [INSTALL_N8N.md](./INSTALL_N8N.md) - n8n 安裝指南 (包含 Node.js 配置範例) +- [RUST_DEVELOPMENT.md](./RUST_DEVELOPMENT.md) - Rust 開發規範 - [monitor_config.yaml](../monitor/config/monitor_config.yaml) - 監控配置 - [node_monitor.sh](../monitor/service/node_monitor.sh) - Node.js 監控腳本 diff --git a/docs/PYTHON.md b/docs/PYTHON.md index 2ce055b..abbda68 100644 --- a/docs/PYTHON.md +++ b/docs/PYTHON.md @@ -476,8 +476,19 @@ A: 建議使用: --- +## 版本速查 + +| 版本 | 用途 | 路徑 | +|------|------|------| +| 3.11.14 | Momentry venv | /Users/accusys/momentry_core_0.1/venv/bin/python | +| 3.11.14 | 系統安裝 | /opt/homebrew/bin/python3.11 | +| 3.14.3 | 系統預設 | /opt/homebrew/bin/python3 | + +--- + ## 相關文件 - [NODEJS.md](./NODEJS.md) - Node.js 開發指南 +- [RUST_DEVELOPMENT.md](./RUST_DEVELOPMENT.md) - Rust 開發規範 - [monitor_config.yaml](../monitor/config/monitor_config.yaml) - 監控配置 - [python_monitor.sh](../monitor/service/python_monitor.sh) - Python 監控腳本 diff --git a/docs/SERVICES.md b/docs/SERVICES.md index 56f5461..40ce439 100644 --- a/docs/SERVICES.md +++ b/docs/SERVICES.md @@ -711,16 +711,21 @@ esac --- -## 附錄: 服務對應表 +## 附錄: 服務版本對應表 -| 服務 | Port | 使用者 | plist 位置 | -|------|------|--------|-------------| -| PostgreSQL | 5432 | accusys | /Library/LaunchDaemons/ | -| Redis | 6379 | accusys | /Library/LaunchDaemons/ | -| Ollama | 11434 | accusys | /Library/LaunchDaemons/ | -| n8n Main | 5678 | accusys | /Library/LaunchDaemons/ | -| n8n Worker | 5690-5691 | accusys | /Library/LaunchDaemons/ | -| Grafana | 3000 | accusys | /Library/LaunchDaemons/ | -| Prometheus | 9090 | accusys | /Library/LaunchDaemons/ | -| Caddy | 2019 | root | /Library/LaunchDaemons/ | -| Netdata | 19999 | root | /Library/LaunchDaemons/ | +| 服務 | 版本 | Port | 使用者 | plist 位置 | +|------|------|------|--------|-------------| +| PostgreSQL | 18.1 | 5432 | accusys | /Library/LaunchDaemons/ | +| Redis | 7.4.x | 6379 | accusys | /Library/LaunchDaemons/ | +| Ollama | - | 11434 | accusys | /Library/LaunchDaemons/ | +| n8n | 2.3.5 | 5678/5690 | accusys | /Library/LaunchDaemons/ | +| Node.js (n8n) | 22.22.1 | - | - | /opt/homebrew/opt/node@22/ | +| Python (Momentry) | 3.11.14 | - | - | venv/bin/python | +| Caddy | 2.10.x | 2019 | root | /Library/LaunchDaemons/ | +| Gitea | - | 3000 | accusys | /Library/LaunchDaemons/ | +| SFTPGo | 2.7.x | 8080 | accusys | /Library/LaunchDaemons/ | +| Qdrant | 1.17.x | 6333 | accusys | /Library/LaunchDaemons/ | +| MongoDB | - | 27017 | accusys | /Library/LaunchDaemons/ | +| MariaDB | 12.1.x | 3306 | accusys | /Library/LaunchDaemons/ | +| RustDesk | - | 21115-21119 | accusys | /Library/LaunchDaemons/ | +| PHP | 8.3.x | - | - | /opt/homebrew/ |