Files
server_debian_macro/ecosystem.config.js
2025-02-18 22:59:07 +00:00

19 lines
317 B
JavaScript

module.exports = {
apps: [
{
name: 'server',
script: './src/server.js',
instances: 1,
autorestart: true,
watch: false,
max_memory_restart: '1G',
env: {
NODE_ENV: 'development'
},
env_production: {
NODE_ENV: 'production'
}
}
]
};