mirror of
https://github.com/placeholder-soft/chroma.git
synced 2026-01-12 17:02:54 +08:00
## Description of changes *Summarize the changes made by this PR.* - New functionality - Auth Provide Client and Server Side Abstractions - Basic Auth Provider ## Test plan Unit tests for authorized endpoints ## Documentation Changes Docs should change to describe how to use auth providers on the client and server. CIP added in `docs/`
31 lines
643 B
YAML
31 lines
643 B
YAML
version: '3.9'
|
|
|
|
networks:
|
|
net:
|
|
driver: bridge
|
|
|
|
services:
|
|
server:
|
|
image: server
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
volumes:
|
|
- ./:/chroma
|
|
- index_data:/index_data
|
|
command: uvicorn chromadb.app:app --reload --workers 1 --host 0.0.0.0 --port 8000 --log-config log_config.yml
|
|
environment:
|
|
- IS_PERSISTENT=TRUE
|
|
- CHROMA_SERVER_AUTH_PROVIDER=${CHROMA_SERVER_AUTH_PROVIDER}
|
|
- CHROMA_SERVER_AUTH_PROVIDER_CONFIG=${CHROMA_SERVER_AUTH_PROVIDER_CONFIG}
|
|
ports:
|
|
- 8000:8000
|
|
networks:
|
|
- net
|
|
|
|
volumes:
|
|
index_data:
|
|
driver: local
|
|
backups:
|
|
driver: local
|