Initial miaojingAI project with image resolution guard
This commit is contained in:
54
ecosystem.config.cjs
Normal file
54
ecosystem.config.cjs
Normal file
@@ -0,0 +1,54 @@
|
||||
module.exports = {
|
||||
apps: [
|
||||
{
|
||||
name: 'miaojing-api',
|
||||
cwd: '/root/miaojingAI',
|
||||
script: 'npm',
|
||||
args: 'run start',
|
||||
exec_mode: 'fork',
|
||||
instances: 1,
|
||||
max_memory_restart: '512M',
|
||||
restart_delay: 3000,
|
||||
env: {
|
||||
NODE_ENV: 'production',
|
||||
COZE_PROJECT_ENV: 'PROD',
|
||||
APP_RUNTIME_ROLE: 'backend',
|
||||
DEPLOY_RUN_PORT: '5100',
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'miaojing-web',
|
||||
cwd: '/root/miaojingAI',
|
||||
script: 'npm',
|
||||
args: 'run start',
|
||||
exec_mode: 'fork',
|
||||
instances: 1,
|
||||
max_memory_restart: '512M',
|
||||
restart_delay: 3000,
|
||||
env: {
|
||||
NODE_ENV: 'production',
|
||||
COZE_PROJECT_ENV: 'PROD',
|
||||
APP_RUNTIME_ROLE: 'frontend',
|
||||
BACKEND_INTERNAL_URL: 'http://127.0.0.1:5100',
|
||||
CONSOLE_INTERNAL_URL: 'http://127.0.0.1:5200',
|
||||
DEPLOY_RUN_PORT: '5000',
|
||||
},
|
||||
},
|
||||
{
|
||||
name: 'miaojing-console',
|
||||
cwd: '/root/miaojingAI',
|
||||
script: 'npm',
|
||||
args: 'run start',
|
||||
exec_mode: 'fork',
|
||||
instances: 1,
|
||||
max_memory_restart: '512M',
|
||||
restart_delay: 3000,
|
||||
env: {
|
||||
NODE_ENV: 'production',
|
||||
COZE_PROJECT_ENV: 'PROD',
|
||||
APP_RUNTIME_ROLE: 'console',
|
||||
DEPLOY_RUN_PORT: '5200',
|
||||
},
|
||||
},
|
||||
],
|
||||
};
|
||||
Reference in New Issue
Block a user