File tree 1 file changed +17
-18
lines changed
1 file changed +17
-18
lines changed Original file line number Diff line number Diff line change 1
1
module . exports = {
2
- apps : [
3
- {
4
- name : "Waterbus Server API" ,
5
- script : "dist/main.js" ,
6
- instances : "max" , // can set is "max" for using max of processors
7
- autorestart : true ,
8
- watch : false ,
9
- max_memory_restart : "2G" ,
10
- exec_mode : "cluster" ,
11
- env : {
12
- NODE_ENV : "production" ,
13
- } ,
14
- error_file : "logs/error.log" ,
15
- out_file : "logs/out.log" ,
16
- log_date_format : "YYYY-MM-DD HH:mm:ss" ,
2
+ apps : [
3
+ {
4
+ name : 'waterbus.server.api' ,
5
+ script : 'dist/main.js' ,
6
+ instances : 'max' , // can set is "max" for using max of processors
7
+ autorestart : true ,
8
+ watch : false ,
9
+ max_memory_restart : '2G' ,
10
+ exec_mode : 'cluster' ,
11
+ env : {
12
+ NODE_ENV : 'production' ,
17
13
} ,
18
- ] ,
19
- } ;
20
-
14
+ error_file : 'logs/error.log' ,
15
+ out_file : 'logs/out.log' ,
16
+ log_date_format : 'YYYY-MM-DD HH:mm:ss' ,
17
+ } ,
18
+ ] ,
19
+ } ;
You can’t perform that action at this time.
0 commit comments