Initial commit with 2026 World Cup Quant Platform core modules and CI/CD

This commit is contained in:
QuantBot
2026-06-13 23:18:18 +08:00
commit 073abf98c1
155 changed files with 19539 additions and 0 deletions

25
ops/pm2.config.js Normal file
View 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,
},
],
};