gamingflexer commited on
Commit
8d58e30
1 Parent(s): 74cf3ec

Chroma db docker compose

Browse files
Files changed (1) hide show
  1. docker-compose.yaml +13 -10
docker-compose.yaml CHANGED
@@ -1,19 +1,22 @@
1
- version: "3.8"
2
- services:
3
 
4
- chroma:
 
 
 
 
5
  image: ghcr.io/chroma-core/chroma:latest
 
 
6
  volumes:
7
- - ./embeddings:/chroma/.chroma/index
 
 
8
  ports:
9
  - 8000:8000
10
  networks:
11
  - net
12
 
13
  volumes:
14
- backups:
15
- driver: local
16
-
17
- networks:
18
- net:
19
- driver: bridge
 
1
+ version: '3.9'
 
2
 
3
+ networks:
4
+ net:
5
+ driver: bridge
6
+ services:
7
+ server:
8
  image: ghcr.io/chroma-core/chroma:latest
9
+ environment:
10
+ - IS_PERSISTENT=TRUE
11
  volumes:
12
+ # Default configuration for persist_directory in chromadb/config.py
13
+ # Currently it's located in "/chroma/chroma/"
14
+ - chroma-data:/home/ubuntu/research/arxiv-plagiarism-checker-llm/embeddings
15
  ports:
16
  - 8000:8000
17
  networks:
18
  - net
19
 
20
  volumes:
21
+ chroma-data:
22
+ driver: local