更新PM2配置并添加相关脚本

This commit is contained in:
2025-09-11 17:07:53 +08:00
parent 15b9cd406e
commit 7b237968b9
14 changed files with 228 additions and 1121 deletions

View File

@@ -7,17 +7,17 @@ module.exports = {
// 环境变量
env: {
NODE_ENV: 'development',
PORT: 3200,
PORT: 3310,
WATCH: false
},
env_production: {
NODE_ENV: 'production',
PORT: 3200,
PORT: 3310,
WATCH: false
},
env_test: {
NODE_ENV: 'test',
PORT: 3001,
PORT: 3311,
WATCH: false
},
// 日志配置