Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

feat(services): add Chroma service (#6201)

Lucas Castelo0998be35036a
diff --git a/public/svgs/chroma.svg b/public/svgs/chroma.svg
new file mode 100644
index 0000000000..930288fbf2
--- /dev/null
+++ b/public/svgs/chroma.svg
@@ -0,0 +1,13 @@
+<svg width="36" height="25" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <mask id="prefix__a" style="mask-type:luminance" maskUnits="userSpaceOnUse" x="0" y="0" width="36" height="25">
+ <path d="M36 .934H0v24h36v-24z" fill="#fff" />
+ </mask>
+ <g mask="url(#prefix__a)">
+ <path d="M12 .934c-6.627 0-12 5.372-12 12 0 6.627 5.373 12 12 12s12-5.373 12-12c0-6.628-5.373-12-12-12z"
+ fill="#327EFF" />
+ <path d="M24 .934c-6.627 0-12 5.372-12 12 0 6.627 5.373 12 12 12s12-5.373 12-12c0-6.628-5.373-12-12-12z"
+ fill="#FFDE2D" />
+ <path d="M12 12.934c0-6.628 5.373-12 12-12v12H12z" fill="#FF6446" />
+ <path d="M24 12.934c0 6.627-5.373 12-12 12v-12h12z" fill="#FF6446" />
+ </g>
+</svg>
\ No newline at end of file
diff --git a/templates/compose/chroma.yaml b/templates/compose/chroma.yaml
new file mode 100644
index 0000000000..11029113bb
--- /dev/null
+++ b/templates/compose/chroma.yaml
@@ -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