浏览代码

add unstructured profiles (#6846)

tags/0.6.16
Jyong 1年前
父节点
当前提交
13f5867a16
没有帐户链接到提交者的电子邮件
共有 2 个文件被更改,包括 11 次插入0 次删除
  1. 1
    0
      docker/.env.example
  2. 10
    0
      docker/docker-compose.yaml

+ 1
- 0
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}


+ 10
- 0
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:

正在加载...
取消
保存