Skip to content

Commit e888647

Browse files
committed
1 parent cfafdc2 commit e888647

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

ecosystem.config.mjs

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
// https://pm2.keymetrics.io/docs/usage/application-declaration/
2+
3+
/**
4+
* npm run start:pm2
5+
*/
6+
7+
export const apps = [
8+
{
9+
name: 'CodeChat Api',
10+
script: 'npm run start:prod',
11+
watch: false,
12+
autorestart: true,
13+
node_args: ['--max-old-space-size=512'],
14+
interpreter_args: '--harmony',
15+
max_memory_restart: '800M',
16+
},
17+
];

0 commit comments

Comments
 (0)