部署保险端项目和大屏

This commit is contained in:
xuqiuyun
2025-09-30 17:41:21 +08:00
parent 4e8d4dc92d
commit e9be0f9d98
767 changed files with 50062 additions and 24144 deletions

View File

@@ -0,0 +1,28 @@
module.exports = {
apps: [{
name: 'insurance-backend',
script: 'src/app.js',
instances: 1,
exec_mode: 'fork',
env: {
NODE_ENV: 'production',
PORT: 3000,
FRONTEND_URL: 'https://ad.ningmuyun.com'
},
env_production: {
NODE_ENV: 'production',
PORT: 3000,
FRONTEND_URL: 'https://ad.ningmuyun.com'
},
error_file: './logs/err.log',
out_file: './logs/out.log',
log_file: './logs/combined.log',
time: true,
max_memory_restart: '1G',
restart_delay: 4000,
max_restarts: 10,
min_uptime: '10s',
watch: false,
ignore_watch: ['node_modules', 'logs']
}]
};