mirror of
https://github.com/YFGaia/dify-plus.git
synced 2026-06-04 10:14:00 +08:00
b2f5707676
# Conflicts: # .github/workflows/tool-test-sdks.yaml # api/.env.example # api/README.md # api/commands.py # api/controllers/console/explore/wraps.py # api/controllers/web/workflow.py # api/extensions/ext_commands.py # api/models/model.py # api/pyproject.toml # api/services/feature_service.py # web/README.md # web/app/components/explore/app-card/index.tsx # web/app/components/explore/app-list/index.tsx # web/app/components/explore/sidebar/index.tsx # web/app/signin/components/mail-and-password-auth.tsx # web/i18n/uk-UA/app-overview.json # web/i18n/uk-UA/app.json # web/i18n/uk-UA/billing.json # web/i18n/uk-UA/common.json # web/i18n/uk-UA/dataset-creation.json # web/i18n/uk-UA/dataset-documents.json # web/i18n/uk-UA/dataset-hit-testing.json # web/i18n/uk-UA/dataset-settings.json # web/i18n/uk-UA/dataset.json # web/i18n/uk-UA/explore.json # web/i18n/uk-UA/plugin.json # web/i18n/uk-UA/tools.json # web/next.config.js # web/package.json # web/pnpm-lock.yaml # web/service/common.ts # web/service/explore.ts # web/service/fetch.ts # web/service/use-explore.ts # web/types/feature.ts
100 lines
4.1 KiB
Bash
100 lines
4.1 KiB
Bash
# For production release, change this to PRODUCTION
|
|
NEXT_PUBLIC_DEPLOY_ENV=DEVELOPMENT
|
|
# The deployment edition, SELF_HOSTED
|
|
NEXT_PUBLIC_EDITION=SELF_HOSTED
|
|
# The base path for the application
|
|
NEXT_PUBLIC_BASE_PATH=
|
|
# The base URL of console application, refers to the Console base URL of WEB service if console domain is
|
|
# different from api or web app domain.
|
|
# example: http://cloud.dify.ai/console/api
|
|
NEXT_PUBLIC_API_PREFIX=http://localhost:5001/console/api
|
|
# The URL for Web APP, refers to the Web App base URL of WEB service if web app domain is different from
|
|
# console or api domain.
|
|
# example: http://udify.app/api
|
|
NEXT_PUBLIC_PUBLIC_API_PREFIX=http://localhost:5001/api
|
|
# When the frontend and backend run on different subdomains, set NEXT_PUBLIC_COOKIE_DOMAIN=1.
|
|
NEXT_PUBLIC_COOKIE_DOMAIN=
|
|
|
|
# The API PREFIX for MARKETPLACE
|
|
NEXT_PUBLIC_MARKETPLACE_API_PREFIX=https://marketplace.dify.ai/api/v1
|
|
# The URL for MARKETPLACE
|
|
NEXT_PUBLIC_MARKETPLACE_URL_PREFIX=https://marketplace.dify.ai
|
|
|
|
# SENTRY
|
|
NEXT_PUBLIC_SENTRY_DSN=
|
|
|
|
# Disable Next.js Telemetry (https://nextjs.org/telemetry)
|
|
NEXT_TELEMETRY_DISABLED=1
|
|
|
|
# Disable Upload Image as WebApp icon default is false
|
|
NEXT_PUBLIC_UPLOAD_IMAGE_AS_ICON=false
|
|
|
|
# The timeout for the text generation in millisecond
|
|
NEXT_PUBLIC_TEXT_GENERATION_TIMEOUT_MS=60000
|
|
# Used by web/docker/entrypoint.sh to overwrite/export NEXT_PUBLIC_TEXT_GENERATION_TIMEOUT_MS at container startup (Docker only)
|
|
TEXT_GENERATION_TIMEOUT_MS=60000
|
|
|
|
# CSP https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP
|
|
NEXT_PUBLIC_CSP_WHITELIST=
|
|
# Default is not allow to embed into iframe to prevent Clickjacking: https://owasp.org/www-community/attacks/Clickjacking
|
|
NEXT_PUBLIC_ALLOW_EMBED=
|
|
|
|
# Allow rendering unsafe URLs which have "data:" scheme.
|
|
NEXT_PUBLIC_ALLOW_UNSAFE_DATA_SCHEME=false
|
|
|
|
# Github Access Token, used for invoking Github API
|
|
NEXT_PUBLIC_GITHUB_ACCESS_TOKEN=
|
|
# The maximum number of top-k value for RAG.
|
|
NEXT_PUBLIC_TOP_K_MAX_VALUE=10
|
|
|
|
# The maximum number of tokens for segmentation
|
|
NEXT_PUBLIC_INDEXING_MAX_SEGMENTATION_TOKENS_LENGTH=4000
|
|
# Used by web/docker/entrypoint.sh to overwrite/export NEXT_PUBLIC_INDEXING_MAX_SEGMENTATION_TOKENS_LENGTH at container startup (Docker only)
|
|
INDEXING_MAX_SEGMENTATION_TOKENS_LENGTH=4000
|
|
|
|
# Maximum loop count in the workflow
|
|
NEXT_PUBLIC_LOOP_NODE_MAX_COUNT=100
|
|
|
|
# Maximum number of tools in the agent/workflow
|
|
NEXT_PUBLIC_MAX_TOOLS_NUM=10
|
|
|
|
# Maximum number of Parallelism branches in the workflow
|
|
NEXT_PUBLIC_MAX_PARALLEL_LIMIT=10
|
|
|
|
# The maximum number of iterations for agent setting
|
|
NEXT_PUBLIC_MAX_ITERATIONS_NUM=99
|
|
|
|
NEXT_PUBLIC_ENABLE_WEBSITE_JINAREADER=true
|
|
NEXT_PUBLIC_ENABLE_WEBSITE_FIRECRAWL=true
|
|
NEXT_PUBLIC_ENABLE_WEBSITE_WATERCRAWL=true
|
|
|
|
# Enable inline LaTeX rendering with single dollar signs ($...$)
|
|
# Default is false for security reasons to prevent conflicts with regular text
|
|
NEXT_PUBLIC_ENABLE_SINGLE_DOLLAR_LATEX=false
|
|
|
|
# The maximum number of tree node depth for workflow
|
|
NEXT_PUBLIC_MAX_TREE_DEPTH=50
|
|
|
|
# The API key of amplitude
|
|
NEXT_PUBLIC_AMPLITUDE_API_KEY=
|
|
|
|
# number of concurrency
|
|
NEXT_PUBLIC_BATCH_CONCURRENCY=5
|
|
|
|
# extend: 默认邮箱后缀
|
|
NEXT_PUBLIC_DEFAULT_DOMAIN=yafex.cn
|
|
|
|
# Auth2 Logout URL(二开新增配置)
|
|
NEXT_PUBLIC_AUTH0_LOGOUT_URL=
|
|
|
|
# 允许访问Amazon营销导航的邮箱列表,用逗号分隔
|
|
NEXT_PUBLIC_AMAZON_MARKETING_ALLOWED_EMAILS=test@example.com,admin@example.com
|
|
|
|
# Product composite size
|
|
NEXT_PUBLIC_PRODUCT_COMPOSITE_SIZE=[{"value": "1024x1024","name": "默认尺寸 (1024x1024)"},{"value": "1600x1600","name": "亚马逊 (1600x1600)"},{"value": "2000x2000","name": "沃尔玛 (2000x2000)"},{"value": "2000x2000","name": "Etsy (2000x2000)"},{"value": "1200x1200","name": "美客多 (1200x1200)"},{"value": "1600x1600","name": "eBay (1600x1600)"},{"value": "1200x1200","name": "Temu (1200x1200)" }]
|
|
|
|
|
|
# Domain Redirection Cross-Reference
|
|
NEXT_PUBLIC_DOMAIN_FORWARDING_GROUP={"ai-draw-4.yafex.cn/static": "grid-static", "pdf_rect": "192.168.168.222/static/pdf_rect","ai-draw-3.yafex.cn/static": "ai-remove-static", "ai-draw.yafex.cn/static": "static", "linkfoximg.yafex.cn": "linkfoximg", "ai-draw-2.yafex.cn": "ai-draw-2", "ai-draw.yafex.cn": "ai-draw1", "img.yafex.cn": "search-image"}
|
|
|