31 lines
1.8 KiB
Bash
31 lines
1.8 KiB
Bash
# ------------------------------------------------------------------
|
|
# 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=
|
|
|
|
# Direct upload remains hidden in Dify until this service is enabled, its allowed browser origins
|
|
# are verified, and the API service sets KNOWLEDGE_FS_DIRECT_UPLOAD_READY=true.
|
|
KNOWLEDGE_DIRECT_UPLOAD_ENABLED=false
|
|
KNOWLEDGE_DIRECT_UPLOAD_ALLOWED_ORIGINS=
|
|
|
|
# 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=
|