| # docker env var for specifying vector db type at startup | # docker env var for specifying vector db type at startup | ||||
| # (based on the vector db type, the corresponding docker | # (based on the vector db type, the corresponding docker | ||||
| # compose profile will be used) | # compose profile will be used) | ||||
| # if you want to use unstructured, add ',unstructured' to the end | |||||
| # ------------------------------ | # ------------------------------ | ||||
| COMPOSE_PROFILES=${VECTOR_STORE:-weaviate} | COMPOSE_PROFILES=${VECTOR_STORE:-weaviate} | ||||
| ports: | ports: | ||||
| - "${MYSCALE_PORT:-8123}:${MYSCALE_PORT:-8123}" | - "${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: | networks: | ||||
| # create a network between sandbox, api and ssrf_proxy, and can not access outside. | # create a network between sandbox, api and ssrf_proxy, and can not access outside. | ||||
| ssrf_proxy_network: | ssrf_proxy_network: |