Initial WhaleTown V2 backend

This commit is contained in:
2026-07-20 02:00:52 +08:00
commit c995891c1f
265 changed files with 75689 additions and 0 deletions

23
ecosystem.config.js Normal file
View File

@@ -0,0 +1,23 @@
module.exports = {
apps: [
{
name: 'whale-town-end-v2',
script: 'dist/main.js',
instances: 1,
exec_mode: 'cluster',
env: {
NODE_ENV: 'production',
PORT: 3000,
},
log_file: './logs/combined.log',
out_file: './logs/out.log',
error_file: './logs/error.log',
log_date_format: 'YYYY-MM-DD HH:mm:ss Z',
merge_logs: true,
max_memory_restart: '1G',
restart_delay: 4000,
watch: false,
ignore_watch: ['node_modules', 'logs', 'generated'],
},
],
};