-
Notifications
You must be signed in to change notification settings - Fork 3
/
ecosystem.config.js-sample
38 lines (37 loc) · 1.03 KB
/
ecosystem.config.js-sample
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
34
35
36
37
38
module.exports = {
apps: [
{
name: 'jasenrekisteri',
script: 'index.js',
instances: 1,
autorestart: true,
watch: ['server', 'config', 'index.js'],
max_memory_restart: '1G',
env: {
MONGOURL: 'mongodb://127.0.0.1/jasenrekisteri',
HOST: 'localhost',
PORT: 3001,
SECRET: 'secret123',
ENV: 'development',
CLIENTURL: 'https://localhost:3000',
CSVFILEPATH: '/app/data/kulkuoikeudet_asteriski.csv',
LOGPATH: '/app/data/logs',
IMPORT_MODE: 0,
ADMINMAILADDRESS: 'example@utu.fi',
BOARDMAILADDRESS: 'asteriski@utu.fi',
MAILSENDER: 'Asteriski jäsenrekisteri <asteriski@utu.fi>',
SMTPURL: 'smtp.utu.fi',
SMTPPORT: 25,
USEGMAIL: 0,
GMAILUSER: 'example@gmail.com',
GMAILPASSWORD: 'password',
MERCHANT_ID: 375917,
MERCHANT_SECRET: 'SAIPPUAKAUPPIAS',
SENDGRID_API_KEY: 'key',
},
env_production: {
NODE_ENV: 'development',
},
},
],
}