We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3afe1da commit 049cfc5Copy full SHA for 049cfc5
2 files changed
.env.example
@@ -1,3 +1,3 @@
1
GITHUB_TOKEN=your_github_personal_access_token_here
2
-PORT=3000
+PORT=3102
3
APP_ENV=development
ecosystem.config.js
@@ -0,0 +1,26 @@
+module.exports = {
+ apps: [
+ {
4
+ name: 'github-stats',
5
+ script: './dist/index.js',
6
+ instances: 'max',
7
+ exec_mode: 'cluster',
8
+ autorestart: true,
9
+ watch: false,
10
+ max_memory_restart: '1G',
11
+ env_production: {
12
+ NODE_ENV: 'production',
13
+ PORT: 3102
14
+ },
15
+ error_file: './logs/err.log',
16
+ out_file: './logs/out.log',
17
+ log_file: './logs/combined.log',
18
+ time: true,
19
+ merge_logs: true,
20
+ kill_timeout: 5000,
21
+ wait_ready: true,
22
+ listen_timeout: 10000,
23
+ shutdown_with_message: true
24
+ }
25
+ ],
26
+};
0 commit comments