feat: 修改pm3配置

This commit is contained in:
helti
2024-12-14 18:52:59 +08:00
parent 38f3f38403
commit b31d4f59a2
3 changed files with 3 additions and 3 deletions

15
ecosystem.config.cjs Normal file
View File

@@ -0,0 +1,15 @@
module.exports = {
apps: [{
name: 'daily-news',
script: 'npm',
args: 'start',
instances: 1,
autorestart: true,
watch: false,
max_memory_restart: '1G',
env: {
NODE_ENV: 'development',
PORT: 6688
}
}]
}