Skip to content

Commit 359fd8b

Browse files
committed
chore: add ecosystem configuration and update package.json scripts
1 parent c21896f commit 359fd8b

File tree

4 files changed

+2789
-2771
lines changed

4 files changed

+2789
-2771
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,4 @@ node_modules/
22

33
.env
44

5+
dist/

ecosystem.config.json

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
{
2+
"apps": [
3+
{
4+
"name": "code-error-microservice",
5+
"script": "npm run start",
6+
"exp_backoff_restart_delay": 100,
7+
"max_memory_restart": "1G",
8+
"log_date_format": "YYYY-MM-DD HH:mm:ss Z",
9+
"merge_logs": true,
10+
"instances": 1,
11+
"autorestart": true,
12+
"watch": false
13+
}
14+
]
15+
}

0 commit comments

Comments
 (0)