Files
chroma/docker-compose.test-auth.yml
Trayan Azarov 2b434b8266 [ENH]: JS Client Static Token support (#1114)
Refs: #1083

## Description of changes

*Summarize the changes made by this PR.*
 - New functionality
- JS Client now supports Authorization, and X-Chroma-Token auths
supported
         - Tests and integration tests updated

## Test plan
*How are these changes tested?*

- [x] Tests pass locally `yarn test` for js

## Documentation Changes
TBD
2023-09-18 11:30:25 -07:00

35 lines
986 B
YAML

version: '3.9'
networks:
test_net:
driver: bridge
services:
test_server:
build:
context: .
dockerfile: Dockerfile
volumes:
- ./:/chroma
- test_index_data:/index_data
command: uvicorn chromadb.app:app --workers 1 --host 0.0.0.0 --port 8000 --log-config chromadb/log_config.yml
environment:
- ANONYMIZED_TELEMETRY=False
- ALLOW_RESET=True
- IS_PERSISTENT=TRUE
- CHROMA_SERVER_AUTH_CREDENTIALS_FILE=${CHROMA_SERVER_AUTH_CREDENTIALS_FILE}
- CHROMA_SERVER_AUTH_CREDENTIALS=${CHROMA_SERVER_AUTH_CREDENTIALS}
- CHROMA_SERVER_AUTH_CREDENTIALS_PROVIDER=${CHROMA_SERVER_AUTH_CREDENTIALS_PROVIDER}
- CHROMA_SERVER_AUTH_PROVIDER=${CHROMA_SERVER_AUTH_PROVIDER}
- CHROMA_SERVER_AUTH_TOKEN_TRANSPORT_HEADER=${CHROMA_SERVER_AUTH_TOKEN_TRANSPORT_HEADER}
ports:
- ${CHROMA_PORT}:8000
networks:
- test_net
volumes:
test_index_data:
driver: local
test_backups:
driver: local