mirror of
https://github.com/musistudio/claude-code-router.git
synced 2026-02-19 07:00:49 +08:00
move to monorepo
This commit is contained in:
23
packages/server/ecosystem.config.cjs
Normal file
23
packages/server/ecosystem.config.cjs
Normal file
@@ -0,0 +1,23 @@
|
||||
module.exports = {
|
||||
apps: [
|
||||
{
|
||||
name: 'claude-code-router-server',
|
||||
script: '/app/packages/server/dist/index.js',
|
||||
cwd: '/app/packages/server',
|
||||
instances: 1,
|
||||
autorestart: true,
|
||||
watch: false,
|
||||
max_memory_restart: '1G',
|
||||
env: {
|
||||
NODE_ENV: 'production',
|
||||
},
|
||||
// 日志配置
|
||||
error_file: '/root/.claude-code-router/logs/error.log',
|
||||
out_file: '/root/.claude-code-router/logs/out.log',
|
||||
log_date_format: 'YYYY-MM-DD HH:mm:ss Z',
|
||||
merge_logs: true,
|
||||
// 启用日志时间戳
|
||||
time: true,
|
||||
},
|
||||
],
|
||||
};
|
||||
Reference in New Issue
Block a user