Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

add unstructured profiles (#6846)

Jyong13f5867a1654
diff --git a/docker/.env.example b/docker/.env.example
index b4a55bbba56..c463bf1bec8 100644
--- a/docker/.env.example
+++ b/docker/.env.example
@@ -655,6 +655,7 @@ SSRF_SANDBOX_HOST=sandbox
# docker env var for specifying vector db type at startup
# (based on the vector db type, the corresponding docker
# compose profile will be used)
+# if you want to use unstructured, add ',unstructured' to the end
# ------------------------------
COMPOSE_PROFILES=${VECTOR_STORE:-weaviate}
diff --git a/docker/docker-compose.yaml b/docker/docker-compose.yaml
index 4df015e1b8d..83a627e21b5 100644
--- a/docker/docker-compose.yaml
+++ b/docker/docker-compose.yaml
@@ -583,6 +583,16 @@ services:
ports:
- "${MYSCALE_PORT:-8123}:${MYSCALE_PORT:-8123}"
+ # unstructured .
+ # (if used, you need to set ETL_TYPE to Unstructured in the api & worker service.)
+ unstructured:
+ image: downloads.unstructured.io/unstructured-io/unstructured-api:latest
+ profiles:
+ - unstructured
+ restart: always
+ volumes:
+ - ./volumes/unstructured:/app/data
+
networks:
# create a network between sandbox, api and ssrf_proxy, and can not access outside.
ssrf_proxy_network: