feat(docker): add PM2_INSTANCES variable and update entrypoint script… (#14083)
This commit is contained in:
parent
09fc4bba61
commit
252d2c425b
5 changed files with 6 additions and 2 deletions
|
|
@ -28,4 +28,4 @@ export NEXT_PUBLIC_CSP_WHITELIST=${CSP_WHITELIST}
|
|||
export NEXT_PUBLIC_TOP_K_MAX_VALUE=${TOP_K_MAX_VALUE}
|
||||
export NEXT_PUBLIC_INDEXING_MAX_SEGMENTATION_TOKENS_LENGTH=${INDEXING_MAX_SEGMENTATION_TOKENS_LENGTH}
|
||||
|
||||
pm2 start ./pm2.json --no-daemon
|
||||
pm2 start /app/web/server.js --name dify-web --cwd /app/web -i ${PM2_INSTANCES} --no-daemon
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue