mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2024-11-19 12:40:09 +01:00
a256db132d
* Update CHROMA_SETUP.md * Update ASTRA_SETUP.md
875 B
875 B
How to setup a local (or remote) Chroma Vector Database
Official Chroma Docs for reference.
How to get started
Requirements
- Docker
git
available in your CLI/terminal
Instructions
git clone git@github.com:chroma-core/chroma.git
to somewhere on computer.cd chroma
docker-compose up -d --build
- set the
CHROMA_ENDPOINT=
.env variable inserver
and also setVECTOR_DB=
tochroma
.
- If you have an API Gateway or auth middleway be sure to set the
CHROMA_API_HEADER
andCHROMA_API_KEY
keys.
eg: server/.env.development
VECTOR_DB="chroma"
CHROMA_ENDPOINT='http://localhost:8000'
# CHROMA_API_HEADER="X-Api-Key" // If you have an Auth middleware on your instance.
# CHROMA_API_KEY="sk-123abc" // If you have an Auth middleware on your instance.