-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathecosystem.config.cjs
More file actions
44 lines (44 loc) · 1.32 KB
/
Copy pathecosystem.config.cjs
File metadata and controls
44 lines (44 loc) · 1.32 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
module.exports = {
apps: [
{
name: 'ulticode-9001',
cwd: '/home/DavidHLP/UltiCode/backend-spring',
script: 'mvn',
args: 'spring-boot:run -Dspring-boot.run.profiles=dev',
interpreter: 'none',
env_file: '/home/DavidHLP/UltiCode/.env',
env: { SERVER_PORT: '9001' },
out_file: '/home/DavidHLP/UltiCode/logs/backend-spring.out.log',
error_file: '/home/DavidHLP/UltiCode/logs/backend-spring.err.log',
merge_logs: true,
time: true,
max_memory_restart: '1G',
},
{
name: 'ulticode-9002',
cwd: '/home/DavidHLP/UltiCode/console',
script: 'pnpm',
args: 'dev',
interpreter: 'none',
env: { NODE_ENV: 'development' },
out_file: '/home/DavidHLP/UltiCode/logs/console.out.log',
error_file: '/home/DavidHLP/UltiCode/logs/console.err.log',
merge_logs: true,
time: true,
max_memory_restart: '512M',
},
{
name: 'ulticode-9003',
cwd: '/home/DavidHLP/UltiCode/management',
script: 'pnpm',
args: 'dev',
interpreter: 'none',
env: { NODE_ENV: 'development' },
out_file: '/home/DavidHLP/UltiCode/logs/management.out.log',
error_file: '/home/DavidHLP/UltiCode/logs/management.err.log',
merge_logs: true,
time: true,
max_memory_restart: '512M',
},
],
}