From 13f5867a1654293644781483121a6d1e9a4adc88 Mon Sep 17 00:00:00 2001 From: Jyong <76649700+JohnJyong@users.noreply.github.com> Date: Wed, 31 Jul 2024 19:39:38 +0800 Subject: [PATCH] add unstructured profiles (#6846) --- docker/.env.example | 1 + docker/docker-compose.yaml | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/docker/.env.example b/docker/.env.example index b4a55bbba5659a..c463bf1bec8f41 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 4df015e1b8d9e6..83a627e21b588c 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: