forked from chroma-core/chroma
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.test-auth.yml
34 lines (31 loc) · 1010 Bytes
/
docker-compose.test-auth.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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 --timeout-keep-alive 30
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