Add PM2 deployment support
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
module.exports = {
|
||||
apps: [
|
||||
{
|
||||
name: 'product-issue',
|
||||
script: 'dist/server/server/main.js',
|
||||
cwd: __dirname,
|
||||
instances: 1,
|
||||
exec_mode: 'fork',
|
||||
autorestart: true,
|
||||
watch: false,
|
||||
max_memory_restart: '512M',
|
||||
kill_timeout: 10_000
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user