Initial commit with 2026 World Cup Quant Platform core modules and CI/CD
This commit is contained in:
25
ops/pm2.config.js
Normal file
25
ops/pm2.config.js
Normal file
@@ -0,0 +1,25 @@
|
||||
module.exports = {
|
||||
apps: [
|
||||
{
|
||||
name: 'fifa2026-betting-desk',
|
||||
script: './src/server.js',
|
||||
instances: 1,
|
||||
exec_mode: 'fork',
|
||||
env: {
|
||||
NODE_ENV: 'production',
|
||||
TZ: 'Asia/Taipei',
|
||||
APP_TIME_ZONE: 'Asia/Taipei',
|
||||
APP_PUBLIC_ORIGIN: 'https://2026fifa.wooo.work',
|
||||
},
|
||||
env_file: '/opt/fifa2026/.env',
|
||||
out_file: '/opt/fifa2026/logs/out.log',
|
||||
error_file: '/opt/fifa2026/logs/error.log',
|
||||
log_date_format: 'YYYY-MM-DD HH:mm:ss Z',
|
||||
max_memory_restart: '700M',
|
||||
max_restarts: 15,
|
||||
restart_delay: 2000,
|
||||
merge_logs: true,
|
||||
watch: false,
|
||||
},
|
||||
],
|
||||
};
|
||||
Reference in New Issue
Block a user