Skip to content

hcss-utils/chroma-docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

chroma-docker

This repository provides an example setup for running the Chroma service using Docker Compose.

Prerequisites

  • Docker
  • Docker Compose

Setup

  1. Clone this repository:

    git clone https://github.com/hcss-utils/chroma-docker.git
    cd chroma-docker
  2. Create a .env file with the following content:

    CHROMA_SERVER_AUTHN_CREDENTIALS="8585d84727f08b0d"
    CHROMA_SERVER_AUTHN_PROVIDER="chromadb.auth.token_authn.TokenAuthenticationServerProvider"
  3. Ensure the necessary port (8007) is open in your firewall settings.

Running the Service

Run the following command to start the service:

docker-compose up -d

The Chroma service will be available on port 8007 of your host machine.

Files

  • docker-compose.yml: Docker Compose configuration for the Chroma service.
  • .env: Environment variables for authentication (not included in the repository, you need to create this file).
  • test_connection.py: Script to test the connection and verify the service endpoints.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages