RustyHearts-API/ecosystem.config.cjs
Junior c3d9e7afb5 Version 1.3.0
- Implemented authentication and billing routes for Jpn region.
- Refactored and changed the project structure from CommonJS to ES Modules
2025-04-29 16:20:09 -03:00

40 lines
806 B
JavaScript

module.exports = {
apps: [
{
name: 'rh-api-all',
script: 'src/app.js',
args: 'mainApp usaApp jpnApp proxyServer',
instances: 1,
autorestart: true,
watch: false,
max_memory_restart: '1G',
env: {
NODE_ENV: 'production'
}
},
{
name: 'rh-api-usa',
script: 'src/app.js',
args: 'mainApp usaApp',
instances: 1,
autorestart: true,
watch: false,
max_memory_restart: '1G',
env: {
NODE_ENV: 'production'
}
},
{
name: 'rh-api-jpn',
script: 'src/app.js',
args: 'mainApp jpnApp proxyServer',
instances: 1,
autorestart: true,
watch: false,
max_memory_restart: '1G',
env: {
NODE_ENV: 'production'
}
}
]
};