eienmojiki commited on
Commit
82633a7
verified
1 Parent(s): cafefc4

Create ecosystem.config.js

Browse files
Files changed (1) hide show
  1. ecosystem.config.js +19 -0
ecosystem.config.js ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ module.exports = {
2
+ apps : [{
3
+ name: "app-server",
4
+ script: "./index.cjs",
5
+ args: "", // Th锚m arguments n岷縰 c岷
6
+ watch: false, // Kh么ng watch trong m么i tr瓢峄漬g Docker
7
+ ignore_watch: ["node_modules", ".data"],
8
+ env: {
9
+ NODE_ENV: "production",
10
+ }
11
+ }, {
12
+ name: "sync-data",
13
+ script: "./sync-notes.js",
14
+ watch: false, // Kh么ng watch trong m么i tr瓢峄漬g Docker
15
+ env: {
16
+ NODE_ENV: "production",
17
+ }
18
+ }]
19
+ };