feat: 智币省初始版本 + PM2 部署配置

This commit is contained in:
Midas
2026-06-22 22:53:09 +08:00
commit 22a38eb9fb
11 changed files with 1497 additions and 0 deletions
+17
View File
@@ -0,0 +1,17 @@
module.exports = {
apps: [{
name: 'zhibisheng',
script: 'server.js',
instances: 1,
autorestart: true,
watch: false,
max_memory_restart: '500M',
env: {
NODE_ENV: 'production',
PORT: 3000
},
error_file: './logs/error.log',
out_file: './logs/out.log',
log_date_format: 'YYYY-MM-DD HH:mm:ss'
}]
};