You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

.env.example 2.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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 URL of console application, refers to the Console base URL of WEB service if console domain is
  6. # different from api or web app domain.
  7. # example: http://cloud.dify.ai/console/api
  8. NEXT_PUBLIC_API_PREFIX=http://localhost:5001/console/api
  9. NEXT_PUBLIC_WEB_PREFIX=http://localhost:3000
  10. # The URL for Web APP, refers to the Web App base URL of WEB service if web app domain is different from
  11. # console or api domain.
  12. # example: http://udify.app/api
  13. NEXT_PUBLIC_PUBLIC_API_PREFIX=http://localhost:5001/api
  14. NEXT_PUBLIC_PUBLIC_WEB_PREFIX=http://localhost:3000
  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. # Github Access Token, used for invoking Github API
  32. NEXT_PUBLIC_GITHUB_ACCESS_TOKEN=
  33. # The maximum number of top-k value for RAG.
  34. NEXT_PUBLIC_TOP_K_MAX_VALUE=10
  35. # The maximum number of tokens for segmentation
  36. NEXT_PUBLIC_INDEXING_MAX_SEGMENTATION_TOKENS_LENGTH=4000
  37. # Maximum loop count in the workflow
  38. NEXT_PUBLIC_LOOP_NODE_MAX_COUNT=100
  39. # Maximum number of tools in the agent/workflow
  40. NEXT_PUBLIC_MAX_TOOLS_NUM=10
  41. # Maximum number of Parallelism branches in the workflow
  42. NEXT_PUBLIC_MAX_PARALLEL_LIMIT=10
  43. # The maximum number of iterations for agent setting
  44. NEXT_PUBLIC_MAX_ITERATIONS_NUM=5
  45. NEXT_PUBLIC_ENABLE_WEBSITE_JINAREADER=true
  46. NEXT_PUBLIC_ENABLE_WEBSITE_FIRECRAWL=true
  47. NEXT_PUBLIC_ENABLE_WEBSITE_WATERCRAWL=true