Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[BUG] docker-compose default persistent directory path updated (#1046)
Fixes #1035 ## Description of changes *Summarize the changes made by this PR.* - Improvements & Bug fixes - Default persistent directory isn't `/index_data` it's located at `/chroma/chroma/` [config.py#L85](https://github.com/chroma-core/chroma/blob/main/chromadb/config.py#L85) fixing it in serveur core docker-compose - Removing misleading volume `/index_data` in main docker-compose.yaml file, that clearly induce in error users - Adding comment in main docker-compose.yaml file so that Chroma users won't waste time seeking for this directory path - New functionality Does it introduce a breaking change ? - With this change data will now be persistent for users using `docker-compose.server.example.yml` as it's a exemple file this shouldn't be considered as a breaking change. ## Test plan *How are these changes tested?* - [x] Tests pass locally with `pytest` for python, `yarn test` for js - [x] Start Chroma server with `docker-compose up -d` create a collection, stop Chroma server with `docker-compose down` and start it again `docker-compose up -d`, check the created collection still exists. ## Documentation Changes *Are all docstrings for user-facing APIs updated if required? Do we need to make documentation changes in the [docs repository](https://github.com/chroma-core/docs)?*
- Loading branch information