82 lines
3.7 KiB
Text
82 lines
3.7 KiB
Text
# =============================================================================
|
|
# Chroma Vector Database Configuration
|
|
# =============================================================================
|
|
# Docs: https://docs.trychroma.com
|
|
# =============================================================================
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# Image Version
|
|
# ---------------------------------------------------------------------------
|
|
# Pin a specific Chroma version (e.g., 0.6.3). Leave empty or set to 'latest'
|
|
# for the latest release.
|
|
CHROMA_VERSION=latest
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# Host Port
|
|
# ---------------------------------------------------------------------------
|
|
# The port Chroma's REST API will be accessible on from the host machine.
|
|
# The internal container port is fixed at 8000.
|
|
CHROMA_PORT=8000
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# Persistence
|
|
# ---------------------------------------------------------------------------
|
|
# Persist data to disk (bind-mounted at /mnt/user/appdata/chroma/data).
|
|
IS_PERSISTENT=TRUE
|
|
PERSIST_DIRECTORY=/chroma/chroma/
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# Server
|
|
# ---------------------------------------------------------------------------
|
|
# Comma-separated list of origins allowed for CORS (e.g., http://localhost:3000).
|
|
# Leave empty to allow all origins.
|
|
CHROMA_SERVER_CORS_ALLOW_ORIGINS=
|
|
# Thread pool size for the HTTP server.
|
|
CHROMA_SERVER_THREAD_POOL_SIZE=40
|
|
# Allow resetting the database via the API. Set to 'true' with caution — this
|
|
# is destructive and will delete all data.
|
|
ALLOW_RESET=false
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# Authentication (optional)
|
|
# ---------------------------------------------------------------------------
|
|
# Uncomment and configure to enable authentication. The credentials value
|
|
# depends on the provider — for the basic token provider, use:
|
|
# CHROMA_SERVER_AUTHN_CREDENTIALS=your-auth-token-here
|
|
#
|
|
# For the multi-user token provider, supply a JSON mapping of tokens to users:
|
|
# CHROMA_SERVER_AUTHN_CREDENTIALS='{"test-token-1234":"admin-user"}'
|
|
# (sensitive)
|
|
# CHROMA_SERVER_AUTHN_PROVIDER=chromadb.auth.token_authn.TokenAuthenticationServerProvider
|
|
# CHROMA_SERVER_AUTHN_CREDENTIALS=
|
|
# CHROMA_AUTH_TOKEN_TRANSPORT_HEADER=X-Chroma-Token
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# Authorization (optional)
|
|
# ---------------------------------------------------------------------------
|
|
# Uncomment to enable authorization (requires authentication to be configured).
|
|
# (sensitive)
|
|
# CHROMA_SERVER_AUTHZ_PROVIDER=chromadb.auth.simple_rbac_authz.SimpleRBACAuthorizationProvider
|
|
# CHROMA_SERVER_AUTHZ_CONFIG=
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# Telemetry
|
|
# ---------------------------------------------------------------------------
|
|
# Disable anonymous telemetry.
|
|
ANONYMIZED_TELEMETRY=false
|
|
# OpenTelemetry endpoint (e.g., http://otel-collector:4318).
|
|
CHROMA_OPEN_TELEMETRY__ENDPOINT=
|
|
CHROMA_OPEN_TELEMETRY__SERVICE_NAME=chromadb
|
|
OTEL_EXPORTER_OTLP_HEADERS=
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# Migrations
|
|
# ---------------------------------------------------------------------------
|
|
# Migration behavior: 'apply' to run migrations on startup, 'none' to skip.
|
|
MIGRATIONS=apply
|
|
|
|
# ---------------------------------------------------------------------------
|
|
# Memory / Performance
|
|
# ---------------------------------------------------------------------------
|
|
# Memory limit in bytes for Chroma's internal cache. 0 means unlimited.
|
|
CHROMA_MEMORY_LIMIT_BYTES=0
|