Files
homaroma/ecosystem.config.js
T

28 lines
666 B
JavaScript

module.exports = {
apps: [
{
name: 'homaroma-backend',
script: './src/index.ts',
cwd: '/home/ti/projects/homaroma-api/apps/backend',
interpreter: '/home/ti/.bun/bin/bun',
watch: false,
max_memory_restart: '1G',
env_production: {
NODE_ENV: 'production'
}
},
{
name: 'homaroma-website',
script: 'server.js',
cwd: '/home/ti/projects/homaroma-website/apps/website',
interpreter: '/home/ti/.nvm/versions/node/v22.17.1/bin/node',
watch: false,
max_memory_restart: '1G',
env_production: {
NODE_ENV: 'production',
PORT: 3002
}
}
]
};