分类 默认分类 下的文章

1. 项目内docker配置文件安装

docker.yml

version: "3.9"
networks:
  net:
    driver: bridge
services:
  server:
    image: ghcr.io/chroma-core/chroma:latest
    environment:
      - IS_PERSISTENT=TRUE
    volumes:
      # Default configuration for persist_directory in chromadb/config.py
      # Currently it's located in "/chroma/chroma/"
      - chroma-data:/chroma/chroma/
    ports:
      - 8000:8000
    networks:
      - net

volumes:
  chroma-data:
    driver: local

base

docker up -d --build

2. linux正常安装(docker),拉取最新镜像后运行使用

docker pull chromadb/chroma
docker run -p 8000:8000 chromadb/chroma