feat: Enhance deployment capabilities with direct server deployment tools, email configuration, and comprehensive documentation

This commit is contained in:
ethan.chen
2026-01-07 16:56:31 +08:00
parent 8f8f852ce4
commit 2458bfa111
18 changed files with 1430 additions and 12 deletions

26
ecosystem.config.js Normal file
View File

@@ -0,0 +1,26 @@
// PM2 ecosystem file for cloud-mcp
module.exports = {
apps: [
{
name: "cloud-mcp",
script: "bun",
args: "run src/index.ts",
cwd: "/opt/cloud-mcp",
instances: 1,
exec_mode: "fork",
watch: false,
max_memory_restart: "500M",
env: {
NODE_ENV: "production",
},
error_file: "./logs/cloud-mcp-error.log",
out_file: "./logs/cloud-mcp-out.log",
log_date_format: "YYYY-MM-DD HH:mm:ss Z",
merge_logs: true,
autorestart: true,
max_restarts: 10,
min_uptime: "10s",
},
],
};