dify/docker-legacy/docker-compose.chroma.yaml
Chenhe Gu 488e3c3d56
Chore/improve deployment flow (#4299)
Co-authored-by: 天魂 <365125264@qq.com>
2024-06-28 17:37:52 +08:00

14 lines
384 B
YAML

services:
# Chroma vector store.
chroma:
image: ghcr.io/chroma-core/chroma:0.5.1
restart: always
volumes:
- ./volumes/chroma:/chroma/chroma
environment:
CHROMA_SERVER_AUTHN_CREDENTIALS: difyai123456
CHROMA_SERVER_AUTHN_PROVIDER: chromadb.auth.token_authn.TokenAuthenticationServerProvider
IS_PERSISTENT: TRUE
ports:
- "8000:8000"