Extract website to SREBOT-web repo: remove web/, move seasons/locales/constants to repo root, fix imports

This commit is contained in:
clxud
2026-07-02 02:45:22 +00:00
parent c0214eaaae
commit 246a29f695
149 changed files with 4 additions and 137956 deletions
-19
View File
@@ -136,25 +136,6 @@ module.exports = {
merge_logs: true,
kill_timeout: 3000,
restart_delay: 2000
},
// Website (reads SREBOT_WEB_PORT from .env)
{
name: 'srebot-web',
...RESTART_POLICY,
script: 'server.js',
cwd: `${DEPLOY_PATH}/web`,
instances: 3,
exec_mode: 'cluster',
autorestart: true,
watch: false,
max_memory_restart: '500M',
log_file: './logs/web_combined.log',
out_file: './logs/web_out.log',
error_file: './logs/web_error.log',
log_date_format: 'YYYY-MM-DD HH:mm:ss Z',
merge_logs: true,
kill_timeout: 5000
}
]
};