mirror of
https://github.com/langgenius/dify.git
synced 2026-09-05 00:31:19 +08:00
32 lines
1.9 KiB
Plaintext
32 lines
1.9 KiB
Plaintext
# ------------------------------------------------------------------
|
|
# KnowledgeFS integration service (started by the default Dify Compose deployment).
|
|
# Copy to knowledge-fs.env and configure durable dependencies before enabling product traffic.
|
|
# The Dify product flag remains disabled by default and no public proxy route is added.
|
|
# Dify inner API connection values and integrated mode are injected by docker-compose.yaml.
|
|
# Physical object storage is owned by Dify's configured STORAGE_TYPE and credentials; do not copy
|
|
# provider endpoints, bucket names, access keys, or secret keys into this service.
|
|
# Optional feature flags and capacity tunables use safe runtime defaults and belong here only when
|
|
# an operator intentionally enables or overrides that feature.
|
|
# ------------------------------------------------------------------
|
|
|
|
# Required durable database. Do not point this at Dify's application database or reuse
|
|
# Dataset/Document tables. Apply KnowledgeFS migrations before starting product traffic.
|
|
DATABASE_URL=
|
|
KNOWLEDGE_DOCUMENT_COMPILATION_RUNTIME=on
|
|
|
|
# Required before enabling integrated product traffic. Set ENABLED=true only after providing the
|
|
# public-only current/previous JWKS that matches Dify's signer. Never copy Dify's private key here.
|
|
KNOWLEDGE_FS_CAPABILITY_V2_ENABLED=false
|
|
KNOWLEDGE_FS_CAPABILITY_V2_PUBLIC_JWKS=
|
|
|
|
# Internal Dify API-to-KnowledgeFS data paths. These flags do not expose browser CORS routes.
|
|
# Enable upload sessions only when the shared object-storage adapter and lifecycle are ready.
|
|
KNOWLEDGE_DIRECT_UPLOAD_ENABLED=off
|
|
# Enable Research task SSE only when the durable task progress repository is ready.
|
|
KNOWLEDGE_DIRECT_STREAM_ENABLED=off
|
|
|
|
# Complex-document parser reachable from the default Compose network or an external endpoint.
|
|
# Leave both values blank only when PDF/Office parsing is intentionally unavailable.
|
|
UNSTRUCTURED_API_URL=
|
|
UNSTRUCTURED_API_KEY=
|