forked from iflabx/agentifui
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathecosystem.config.js
More file actions
43 lines (43 loc) · 1 KB
/
ecosystem.config.js
File metadata and controls
43 lines (43 loc) · 1 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
module.exports = {
apps: [
{
name: 'AgentifUI',
script: 'pnpm',
args: 'start',
interpreter: 'none',
env: {
NODE_ENV: 'production',
PORT: process.env.PORT || 3000,
},
env_development: {
NODE_ENV: 'development',
PORT: 3000,
},
cwd: './',
instances: 1,
exec_mode: 'fork',
out_file: './pm2-logs/out.log',
error_file: './pm2-logs/error.log',
autorestart: true,
log_date_format: 'YYYY-MM-DD HH:mm:ss',
},
{
name: 'AgentifUI-Standalone',
script: 'pnpm',
args: 'start:standalone',
interpreter: 'none',
env: {
NODE_ENV: 'production',
PORT: process.env.PORT || 3000,
HOSTNAME: '0.0.0.0',
},
cwd: './',
instances: 1,
exec_mode: 'fork',
out_file: './pm2-logs/standalone-out.log',
error_file: './pm2-logs/standalone-error.log',
autorestart: true,
log_date_format: 'YYYY-MM-DD HH:mm:ss',
},
],
};