mirror of
https://github.com/JuniorDark/RustyHearts-API.git
synced 2026-05-07 06:01:44 -04:00
- Implemented authentication and billing routes for Jpn region. - Refactored and changed the project structure from CommonJS to ES Modules
40 lines
806 B
JavaScript
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'
|
|
}
|
|
}
|
|
]
|
|
};
|