.env.example 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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. # The URL for Web APP, refers to the Web App base URL of WEB service if web app domain is different from
  10. # console or api domain.
  11. # example: http://udify.app/api
  12. NEXT_PUBLIC_PUBLIC_API_PREFIX=http://localhost:5001/api
  13. # The API PREFIX for MARKETPLACE
  14. NEXT_PUBLIC_MARKETPLACE_API_PREFIX=https://marketplace.dify.ai/api/v1
  15. # The URL for MARKETPLACE
  16. NEXT_PUBLIC_MARKETPLACE_URL_PREFIX=https://marketplace.dify.ai
  17. # SENTRY
  18. NEXT_PUBLIC_SENTRY_DSN=
  19. # Disable Next.js Telemetry (https://nextjs.org/telemetry)
  20. NEXT_TELEMETRY_DISABLED=1
  21. # Disable Upload Image as WebApp icon default is false
  22. NEXT_PUBLIC_UPLOAD_IMAGE_AS_ICON=false
  23. # The timeout for the text generation in millisecond
  24. NEXT_PUBLIC_TEXT_GENERATION_TIMEOUT_MS=60000
  25. # CSP https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP
  26. NEXT_PUBLIC_CSP_WHITELIST=
  27. # Github Access Token, used for invoking Github API
  28. NEXT_PUBLIC_GITHUB_ACCESS_TOKEN=
  29. # The maximum number of top-k value for RAG.
  30. NEXT_PUBLIC_TOP_K_MAX_VALUE=10
  31. # The maximum number of tokens for segmentation
  32. NEXT_PUBLIC_INDEXING_MAX_SEGMENTATION_TOKENS_LENGTH=4000
  33. # Maximum loop count in the workflow
  34. NEXT_PUBLIC_LOOP_NODE_MAX_COUNT=100
  35. # Maximum number of tools in the agent/workflow
  36. NEXT_PUBLIC_MAX_TOOLS_NUM=10
  37. # Maximum number of Parallelism branches in the workflow
  38. NEXT_PUBLIC_MAX_PARALLEL_LIMIT=10