-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathecosystem.config.js
33 lines (33 loc) · 1.23 KB
/
ecosystem.config.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
module.exports = {
apps: [{
script : 'app.js',
watch : '.',
env_dev : {
name : 'api-boilerplate-development',
NODE_ENV : 'development',
PORT : 4444,
JWT_SECRET : "Malatya44",
JWT_ACCESS_EXPIRATION_MINUTES : 44,
JWT_REFRESH_EXPIRATION_DAYS : 1,
JWT_RESET_PASSWORD_EXPIRATION_MINUTES: 44,
JWT_VERIFY_EMAIL_EXPIRATION_MINUTES : 44,
SMTP_HOST : '',
SMTP_PORT : 587,
SMTP_USERNAME : '',
SMTP_PASSWORD : '',
EMAIL_FROM : '',
},
env_test: {
name : "api-boilerplate-test",
PORT : 4445,
NODE_ENV : "test",
TOKEN_SECRET: "Malatya44"
},
env_prod: {
name : "api-boilerplate-prod",
PORT : 4446,
NODE_ENV : "production",
TOKEN_SECRET: "Malatya44"
},
}],
};