Skip to content

Commit

Permalink
Release: 0.1.0 (#104)
Browse files Browse the repository at this point in the history
  • Loading branch information
tazarov authored Jan 14, 2025
1 parent 4740c5b commit 5010ab2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 25 deletions.
27 changes: 4 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Chroma Operations Tools
# Chroma Maintenance CLI

Tiny collection of utilities to help you managed single-node Chroma instances.
A collection of utilities to help you managed single-node Chroma instances.

> [!TIP]
> chroma ops tool relies on internal ChromaDB APIs and breaking changes with new version of Chroma are possible.
Expand Down Expand Up @@ -462,33 +462,14 @@ Options:

> Note: You have to mount your persist directory into the container for the commands to work.

Building the image:

```bash
docker build -t chops .
```

#### WAL Commit

```bash
docker run -it --rm -v ./persist_dir:/chroma-data ghcr.io/amikos-tech/chromadb-ops/chops:latest commit-wal /chroma-data
```

#### WAL Cleanup

```bash
docker run -it --rm -v ./persist_dir:/chroma-data ghcr.io/amikos-tech/chromadb-ops/chops:latest clean-wal /chroma-data
```

#### WAL Export

```bash
docker run -it --rm -v ./persist_dir:/chroma-data -v ./backup:/backup ghcr.io/amikos-tech/chromadb-ops/chops:latest export-wal /chroma-data --out /backup/export.jsonl
```

#### Full-Text Search Index Rebuild
#### Running Commands

```bash
docker run -it --rm -v ./persist_dir:/chroma-data ghcr.io/amikos-tech/chromadb-ops/chops:latest rebuild-fts /chroma-data
docker run -it --rm -v ./persist_dir:/chroma-data ghcr.io/amikos-tech/chromadb-ops/chops:latest <command>
```
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[tool.poetry]
name = "chromadb-ops"
version = "0.0.12"
description = "Tiny unofficial ChromaDB operations CLI to help you manage your ChromaDB instance."
version = "0.1.0"
description = "Tiny unofficial ChromaDB maintenance CLI to help you manage your ChromaDB instance."
authors = ["Trayan Azarov <[email protected]>"]
license = "MIT"
readme = "README.md"
Expand Down

0 comments on commit 5010ab2

Please sign in to comment.