Skip to content

Commit c0689bb

Browse files
Add docker compose to be able to run chroma in tests
1 parent b7aed4b commit c0689bb

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

docker-compose.yml

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
version: '3.9'
2+
3+
services:
4+
server:
5+
image: 'chromadb/chroma'
6+
command: uvicorn chromadb.app:app --reload --workers 1 --host 0.0.0.0 --port 8000 --log-config chromadb/log_config.yml --timeout-keep-alive 30
7+
ports:
8+
- '8000:8000'
9+
volumes:
10+
- chroma-data:/chroma/chroma
11+
environment:
12+
- IS_PERSISTENT=TRUE
13+
- CHROMA_SERVER_NOFILE=65535
14+
- ALLOW_RESET=true
15+
networks:
16+
- net
17+
18+
networks:
19+
net:
20+
driver: bridge
21+
22+
volumes:
23+
chroma-data:
24+
driver: local

0 commit comments

Comments
 (0)