Moved later/gitgram-ai/gitgram/ to apps/ritgram/ (fresh history; full history stays in caelum0x/gitgram). AITimeMachine stays separate in later/gitgram-ai per the Rithub master plan. Logs, pid files and env files are ignored; GPL-3.0 mobile/proximity noted in THIRD_PARTY_NOTICES. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
42 lines
961 B
JavaScript
42 lines
961 B
JavaScript
module.exports = {
|
|
apps: [
|
|
{
|
|
name: 'gitgram-api',
|
|
cwd: './backend',
|
|
script: 'dist/index.js',
|
|
instances: 'max',
|
|
exec_mode: 'cluster',
|
|
env: {
|
|
NODE_ENV: 'production',
|
|
PORT: 4000,
|
|
},
|
|
error_file: './logs/api-error.log',
|
|
out_file: './logs/api-out.log',
|
|
log_date_format: 'YYYY-MM-DD HH:mm:ss Z',
|
|
merge_logs: true,
|
|
autorestart: true,
|
|
max_memory_restart: '1G',
|
|
watch: false,
|
|
},
|
|
{
|
|
name: 'gitgram-web',
|
|
cwd: './web',
|
|
script: 'node',
|
|
args: '.next/standalone/server.js',
|
|
instances: 1,
|
|
exec_mode: 'fork',
|
|
env: {
|
|
NODE_ENV: 'production',
|
|
PORT: 3000,
|
|
},
|
|
error_file: './logs/web-error.log',
|
|
out_file: './logs/web-out.log',
|
|
log_date_format: 'YYYY-MM-DD HH:mm:ss Z',
|
|
merge_logs: true,
|
|
autorestart: true,
|
|
max_memory_restart: '512M',
|
|
watch: false,
|
|
},
|
|
],
|
|
};
|