chore(web): remove PM2 process manager (#30252)

Signed-off-by: majiayu000 <1835304752@qq.com>
This commit is contained in:
lif
2026-03-01 19:31:45 +08:00
committed by GitHub
parent bc6fd0b5dd
commit fb538b005c
6 changed files with 2 additions and 23 deletions

View File

@ -43,4 +43,4 @@ export NEXT_PUBLIC_MAX_PARALLEL_LIMIT=${MAX_PARALLEL_LIMIT}
export NEXT_PUBLIC_MAX_ITERATIONS_NUM=${MAX_ITERATIONS_NUM}
export NEXT_PUBLIC_MAX_TREE_DEPTH=${MAX_TREE_DEPTH}
pm2 start /app/web/server.js --name dify-web --cwd /app/web -i ${PM2_INSTANCES} --no-daemon
exec node /app/web/server.js

View File

@ -1,11 +0,0 @@
{
"apps": [
{
"name": "dify-web",
"script": "/app/web/server.js",
"cwd": "/app/web",
"exec_mode": "cluster",
"instances": 2
}
]
}