-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathecosystem.config.cjs
More file actions
31 lines (31 loc) · 1.04 KB
/
Copy pathecosystem.config.cjs
File metadata and controls
31 lines (31 loc) · 1.04 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
module.exports = {
apps: [{
name: 'copy-trading',
script: './dist/index.js',
cwd: '/www/wwwroot/copy-trading',
exec_mode: 'fork',
autorestart: true,
watch: false,
max_memory_restart: '400M',
env: {
NODE_ENV: 'production',
PORT: '3001',
DATABASE_URL: 'mysql://copytrader:CopyTrade2024!@localhost:3306/copy_trading?socketPath=/opt/bitnami/mariadb/tmp/mysql.sock',
JWT_SECRET: 'copy-trading-jwt-secret-2024-xgjdmy-secure',
VITE_APP_ID: 'copy-trading-app',
OAUTH_SERVER_URL: 'https://api.manus.im',
VITE_OAUTH_PORTAL_URL: 'https://manus.im',
OWNER_OPEN_ID: 'admin',
OWNER_NAME: 'admin',
BUILT_IN_FORGE_API_URL: '',
BUILT_IN_FORGE_API_KEY: '',
VITE_FRONTEND_FORGE_API_KEY: '',
VITE_FRONTEND_FORGE_API_URL: '',
VITE_ANALYTICS_ENDPOINT: '',
VITE_ANALYTICS_WEBSITE_ID: ''
},
error_file: '/www/wwwroot/copy-trading/logs/error.log',
out_file: '/www/wwwroot/copy-trading/logs/out.log',
log_date_format: 'YYYY-MM-DD HH:mm:ss'
}]
};