Skip to content
This repository has been archived by the owner on May 10, 2024. It is now read-only.

Deployment docs #212

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion docs/deployment.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,8 @@ You can get the Chroma Docker image from [Docker Hub](https://hub.docker.com/r/c

```sh
docker pull chromadb/chroma
docker run -p 8000:8000 chromadb/chroma
docker volume create chroma-data
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@jarqvi, in your experience, why do you think this is better than local dir binding (-v ./chroma-data:/chroma/chroma)? Is it better for developer experience to create a separate volume?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I usually use volumes to store container data and bind mounts to configure or dynamically change the container.

docker run --rm -p 8000:8000 -v chroma-data:/chroma/chroma chromadb/chroma
```

You can also build the Docker image yourself from the Dockerfile in the [Chroma GitHub repository](https://github.com/chroma-core/chroma)
Expand Down