File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11module . exports = {
22 apps : [
33 {
4- name : 'github-stats' ,
5- script : './dist/index.js' ,
6- instances : 'max' ,
4+ name : 'studio.pphat.top:3102' ,
5+ port : 3102 ,
76 exec_mode : 'cluster' ,
8- autorestart : true ,
9- watch : false ,
10- max_memory_restart : '1G' ,
11- env_production : {
7+ instances : 'max' ,
8+ script : './dist/index.js' ,
9+ env : {
1210 NODE_ENV : 'production' ,
13- PORT : 3102
11+ PORT : 3102 ,
1412 } ,
15- error_file : './logs/err.log' ,
16- out_file : './logs/out.log' ,
17- log_file : './logs/combined.log' ,
18- time : true ,
13+ error_file : './logs/error.log' ,
14+ out_file : './logs/output.log' ,
15+ log_date_format : 'YYYY-MM-DD HH:mm:ss' ,
1916 merge_logs : true ,
20- kill_timeout : 5000 ,
21- wait_ready : true ,
22- listen_timeout : 10000 ,
23- shutdown_with_message : true
24- }
17+
18+ max_restarts : 10 ,
19+ min_uptime : '10s' ,
20+ max_memory_restart : '500M'
21+ } ,
2522 ] ,
2623} ;
You can’t perform that action at this time.
0 commit comments