17 lines
356 B
JavaScript
17 lines
356 B
JavaScript
module.exports = {
|
|
apps: [{
|
|
name: 'a2host',
|
|
script: './src/index.js',
|
|
instances: 1,
|
|
autorestart: true,
|
|
watch: false,
|
|
max_memory_restart: '120M',
|
|
node_args: '--max-old-space-size=64 --optimize-for-size --expose-gc',
|
|
env_production: {
|
|
NODE_ENV: 'production',
|
|
PORT: 3005,
|
|
MOCK_APACHE: 'false'
|
|
}
|
|
}]
|
|
};
|