feat: Enhance deployment capabilities with direct server deployment tools, email configuration, and comprehensive documentation
This commit is contained in:
26
ecosystem.config.js
Normal file
26
ecosystem.config.js
Normal 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",
|
||||
},
|
||||
],
|
||||
};
|
||||
Reference in New Issue
Block a user