-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathecosystem.config.js
More file actions
65 lines (65 loc) · 1.69 KB
/
ecosystem.config.js
File metadata and controls
65 lines (65 loc) · 1.69 KB
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
module.exports = {
apps: [
{
name: 'backend',
cwd: './phantom-api-backend',
script: 'yarn',
args: 'dev',
interpreter: 'bash',
env: {
NODE_ENV: 'development',
PORT: 3000,
JWT_SECRET: process.env.JWT_SECRET || 'development-jwt-secret-key-very-long-and-secure-for-local-development-only-32chars+'
},
log_file: './logs/backend.log',
error_file: './logs/backend-error.log',
out_file: './logs/backend-out.log',
log_date_format: 'YYYY-MM-DD HH:mm Z'
},
{
name: 'admin',
cwd: './admin-interface',
script: 'yarn',
args: 'dev',
interpreter: 'bash',
env: {
NODE_ENV: 'development',
PORT: 5173
},
log_file: './logs/admin-interface.log',
error_file: './logs/admin-interface-error.log',
out_file: './logs/admin-interface-out.log',
log_date_format: 'YYYY-MM-DD HH:mm Z'
},
{
name: 'website',
cwd: './website',
script: 'yarn',
args: 'dev',
interpreter: 'bash',
env: {
NODE_ENV: 'development',
PORT: 5175
},
log_file: './logs/website.log',
error_file: './logs/website-error.log',
out_file: './logs/website-out.log',
log_date_format: 'YYYY-MM-DD HH:mm Z'
},
{
name: 'public-doc',
cwd: './public-doc',
script: 'npx',
args: 'serve site -l 8000',
interpreter: 'none',
env: {
NODE_ENV: 'development',
PORT: 8000
},
log_file: './logs/public-doc.log',
error_file: './logs/public-doc-error.log',
out_file: './logs/public-doc-out.log',
log_date_format: 'YYYY-MM-DD HH:mm Z'
}
]
};