Extract website to SREBOT-web repo: remove web/, move seasons/locales/constants to repo root, fix imports
This commit is contained in:
@@ -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
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user