Spaces:
Paused
Paused
Delete ecosystem.config.js
Browse files- ecosystem.config.js +0 -16
ecosystem.config.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
| 1 |
-
module.exports = {
|
| 2 |
-
apps: [{
|
| 3 |
-
name: 'cursor-api', // 应用程序名称
|
| 4 |
-
script: 'src/index.js', // 启动脚本路径
|
| 5 |
-
instances: 1, // 实例数量
|
| 6 |
-
autorestart: true, // 自动重启
|
| 7 |
-
watch: false, // 文件变化监控
|
| 8 |
-
max_memory_restart: '1G', // 内存限制重启
|
| 9 |
-
log_date_format: 'YYYY-MM-DD HH:mm:ss', // 日志时间格式
|
| 10 |
-
error_file: 'logs/error.log', // 错误日志路径
|
| 11 |
-
out_file: 'logs/out.log', // 输出日志路径
|
| 12 |
-
log_file: 'logs/combined.log', // 组合日志路径
|
| 13 |
-
merge_logs: true, // 合并集群模式的日志
|
| 14 |
-
rotate_interval: '1d' // 日志轮转间隔
|
| 15 |
-
}]
|
| 16 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|