diff --git a/docker/.env.example b/docker/.env.example index b4a55bbba5..c463bf1bec 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 4df015e1b8..83a627e21b 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: