Files
homaroma/serverinfo/192.168.1.26/ecosystem.config.example.js
T
2026-10-17 13:34:07 +07:00

30 lines
661 B
JavaScript

// PM2 Ecosystem Config for sql@192.168.1.26
module.exports = {
apps: [
{
name: 'cms-backend',
script: './src/index.ts',
cwd: '/home/sql/code/cms-api/apps/backend',
interpreter: '/home/sql/.bun/bin/bun',
watch: false,
max_memory_restart: '1G',
env_production: {
NODE_ENV: 'production',
PORT: 3005
}
},
{
name: 'cms-website',
script: 'server.js',
cwd: '/home/sql/code/cms-website',
interpreter: '/usr/bin/node',
watch: false,
max_memory_restart: '1G',
env_production: {
NODE_ENV: 'production',
PORT: 3002
}
}
]
};