catalyst-appsail
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseHow It Works
工作原理
-
Identify the runtime — Managed runtime (Node.js, Java, Python) or custom Docker container.
-
Load— for PORT config, environment variables, Dockerfile requirements, and deploy commands.
references/appsail-basics.md -
PORT rule — Always use, never hardcode
process.env.X_ZOHO_CATALYST_LISTEN_PORTorPORT.3000 -
AppSail vs Functions decision — If the user is unsure which to use, apply this matrix:
Catalyst Functions AppSail Code structure Catalyst-specific templates required Any framework, any format, fully independent Use case HTTP handlers, events, cron, Zoho integrations Persistent servers, long-running processes, Docker Billing Per API call Per instance uptime Dependency management Handled by Catalyst You manage all libraries and frameworks
-
确定运行时 — 托管运行时(Node.js、Java、Python)或自定义Docker容器。
-
加载— 获取PORT配置、环境变量、Dockerfile要求以及部署命令相关内容。
references/appsail-basics.md -
PORT规则 — 始终使用,切勿硬编码
process.env.X_ZOHO_CATALYST_LISTEN_PORT或PORT。3000 -
AppSail与Functions的选择决策 — 如果用户不确定该使用哪一个,请参考以下矩阵:
Catalyst Functions AppSail 代码结构 需要Catalyst特定模板 支持任意框架、任意格式,完全独立 使用场景 HTTP处理器、事件、定时任务、Zoho集成 持久化服务器、长期运行进程、Docker容器 计费方式 按API调用次数计费 按实例运行时长计费 依赖管理 由Catalyst负责 需自行管理所有库和框架
Triggers
触发条件
Use this skill for: "AppSail", "persistent server", "Docker on Catalyst", "backend hosting", , , "catalyst managed runtime", "deploy Express app", "AppSail vs Functions", "long-running process on Catalyst", or "containerized app on Catalyst".
X_ZOHO_CATALYST_LISTEN_PORTappsail:add当涉及以下内容时使用本技能:"AppSail"、"持久化服务器"、"Docker on Catalyst"、"后端托管"、、、"catalyst托管运行时"、"部署Express应用"、"AppSail vs Functions"、"Catalyst上的长期运行进程"或"Catalyst上的容器化应用"。
X_ZOHO_CATALYST_LISTEN_PORTappsail:addReferences
参考资料
| Reference | Load when the query is about… |
|---|---|
| Runtimes, Docker setup, PORT env var, env variables, deploy commands, AppSail vs Functions decision table |
| 参考文档 | 当查询涉及以下内容时加载… |
|---|---|
| 运行时、Docker配置、PORT环境变量、环境变量、部署命令、AppSail与Functions决策表 |