您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

.env.example 2.3KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. # For production release, change this to PRODUCTION
  2. NEXT_PUBLIC_DEPLOY_ENV=DEVELOPMENT
  3. # The deployment edition, SELF_HOSTED
  4. NEXT_PUBLIC_EDITION=SELF_HOSTED
  5. # The base path for the application
  6. NEXT_PUBLIC_BASE_PATH=
  7. # The base URL of console application, refers to the Console base URL of WEB service if console domain is
  8. # different from api or web app domain.
  9. # example: http://cloud.dify.ai/console/api
  10. NEXT_PUBLIC_API_PREFIX=http://localhost:5001/console/api
  11. # The URL for Web APP, refers to the Web App base URL of WEB service if web app domain is different from
  12. # console or api domain.
  13. # example: http://udify.app/api
  14. NEXT_PUBLIC_PUBLIC_API_PREFIX=http://localhost:5001/api
  15. # The API PREFIX for MARKETPLACE
  16. NEXT_PUBLIC_MARKETPLACE_API_PREFIX=https://marketplace.dify.ai/api/v1
  17. # The URL for MARKETPLACE
  18. NEXT_PUBLIC_MARKETPLACE_URL_PREFIX=https://marketplace.dify.ai
  19. # SENTRY
  20. NEXT_PUBLIC_SENTRY_DSN=
  21. # Disable Next.js Telemetry (https://nextjs.org/telemetry)
  22. NEXT_TELEMETRY_DISABLED=1
  23. # Disable Upload Image as WebApp icon default is false
  24. NEXT_PUBLIC_UPLOAD_IMAGE_AS_ICON=false
  25. # The timeout for the text generation in millisecond
  26. NEXT_PUBLIC_TEXT_GENERATION_TIMEOUT_MS=60000
  27. # CSP https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP
  28. NEXT_PUBLIC_CSP_WHITELIST=
  29. # Default is not allow to embed into iframe to prevent Clickjacking: https://owasp.org/www-community/attacks/Clickjacking
  30. NEXT_PUBLIC_ALLOW_EMBED=
  31. # Allow rendering unsafe URLs which have "data:" scheme.
  32. NEXT_PUBLIC_ALLOW_UNSAFE_DATA_SCHEME=false
  33. # Github Access Token, used for invoking Github API
  34. NEXT_PUBLIC_GITHUB_ACCESS_TOKEN=
  35. # The maximum number of top-k value for RAG.
  36. NEXT_PUBLIC_TOP_K_MAX_VALUE=10
  37. # The maximum number of tokens for segmentation
  38. NEXT_PUBLIC_INDEXING_MAX_SEGMENTATION_TOKENS_LENGTH=4000
  39. # Maximum loop count in the workflow
  40. NEXT_PUBLIC_LOOP_NODE_MAX_COUNT=100
  41. # Maximum number of tools in the agent/workflow
  42. NEXT_PUBLIC_MAX_TOOLS_NUM=10
  43. # Maximum number of Parallelism branches in the workflow
  44. NEXT_PUBLIC_MAX_PARALLEL_LIMIT=10
  45. # The maximum number of iterations for agent setting
  46. NEXT_PUBLIC_MAX_ITERATIONS_NUM=99
  47. NEXT_PUBLIC_ENABLE_WEBSITE_JINAREADER=true
  48. NEXT_PUBLIC_ENABLE_WEBSITE_FIRECRAWL=true
  49. NEXT_PUBLIC_ENABLE_WEBSITE_WATERCRAWL=true
  50. # The maximum number of tree node depth for workflow
  51. NEXT_PUBLIC_MAX_TREE_DEPTH=50