14448af731
- 添加案例、新闻、产品详情页面的E2E测试 - 优化详情页面的客户端组件和页面逻辑 - 添加高性能Docker配置和Nginx配置 - 更新API服务和常量配置 - 添加性能优化文档和任务进度更新 - 修复ESLint错误和类型问题
46 lines
988 B
JavaScript
46 lines
988 B
JavaScript
module.exports = {
|
|
apps: [
|
|
{
|
|
name: 'novalon-website-1',
|
|
script: 'node_modules/next/dist/bin/next',
|
|
args: 'start -p 3001',
|
|
instances: 1,
|
|
exec_mode: 'fork',
|
|
autorestart: true,
|
|
watch: false,
|
|
max_memory_restart: '1G',
|
|
env: {
|
|
NODE_ENV: 'production',
|
|
PORT: 3001
|
|
}
|
|
},
|
|
{
|
|
name: 'novalon-website-2',
|
|
script: 'node_modules/next/dist/bin/next',
|
|
args: 'start -p 3002',
|
|
instances: 1,
|
|
exec_mode: 'fork',
|
|
autorestart: true,
|
|
watch: false,
|
|
max_memory_restart: '1G',
|
|
env: {
|
|
NODE_ENV: 'production',
|
|
PORT: 3002
|
|
}
|
|
},
|
|
{
|
|
name: 'novalon-website-3',
|
|
script: 'node_modules/next/dist/bin/next',
|
|
args: 'start -p 3003',
|
|
instances: 1,
|
|
exec_mode: 'fork',
|
|
autorestart: true,
|
|
watch: false,
|
|
max_memory_restart: '1G',
|
|
env: {
|
|
NODE_ENV: 'production',
|
|
PORT: 3003
|
|
}
|
|
}
|
|
]
|
|
}; |