-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathecosystem.config.cjs
More file actions
32 lines (31 loc) · 1008 Bytes
/
ecosystem.config.cjs
File metadata and controls
32 lines (31 loc) · 1008 Bytes
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
module.exports = {
apps: [
{
name: 'stats.pphat.top:3102',
port: 3102,
exec_mode: 'cluster',
instances: 'max',
script: './dist/index.js',
env: {
NODE_ENV: 'production',
PORT: 3102,
},
error_file: './logs/error.log',
out_file: './logs/output.log',
log_date_format: 'YYYY-MM-DD HH:mm:ss',
merge_logs: true,
max_restarts: 10,
min_uptime: '10s',
max_memory_restart: '500M'
},
{
name: 'drizzle-studio',
script: 'npx',
args: ['drizzle-kit', 'studio', '--host', '127.0.0.1', '--port', '34222'],
interpreter: 'none',
error_file: './logs/drizzle-studio-error.log',
out_file: './logs/drizzle-studio-output.log',
log_date_format: 'YYYY-MM-DD HH:mm:ss',
},
],
};