feat(services): add Chroma service (#6201)
This commit is contained in:
20
templates/compose/chroma.yaml
Normal file
20
templates/compose/chroma.yaml
Normal file
@@ -0,0 +1,20 @@
|
||||
# documentation: https://cookbook.chromadb.dev/
|
||||
# slogan: Chroma is the open-source search and retrieval database for AI applications.
|
||||
# tags: ai,vector-database,semantic-search,machine-learning,bm25,embeddings,llm
|
||||
# logo: svgs/chroma.svg
|
||||
# port: 8000
|
||||
|
||||
services:
|
||||
chromadb:
|
||||
image: chromadb/chroma:1.0.15
|
||||
volumes:
|
||||
- chroma-data:/data
|
||||
environment:
|
||||
- SERVICE_FQDN_CHROMA_8000
|
||||
- IS_PERSISTENT=TRUE
|
||||
- PERSIST_DIRECTORY=/data
|
||||
healthcheck:
|
||||
test: [ "CMD", "/bin/bash", "-c", "cat < /dev/null > /dev/tcp/localhost/8000" ]
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
Reference in New Issue
Block a user