-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
40 lines (38 loc) · 1.14 KB
/
docker-compose.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
35
36
37
38
39
40
version: "3.8"
services:
memories-api:
container_name: memories-api
image: vontainment/v-gpt-qdrant-api:dev2 # Use your appropriate image
restart: always
depends_on:
- qdrant
ports:
- "8060:8060"
environment:
QDRANT_HOST: "http://qdrant:6333"
BASE_URL: http://memories-api/memory
ROOT_PATH: /memory
QDRANT_API_KEY:
#MEMORIES_API_KEY: Optional API key to connect to api
WORKERS: 1 #uvicorn workers 1 should be enough for personal use
UVICORN_CONCURRENCY: 64 #this controls the mac connections. Anything over the API_concurrancy value is put in query pool. Anything over this number is rejected.
EMBEDDING_ENDPOINT: True
LOCAL_MODEL: nomic-ai/nomic-embed-text-v1.5" #"BAAI/bge-small-en-v1.5"
DIM: 768 #384
volumes:
- embedding-model:/app/models
qdrant:
image: langgenius/qdrant:latest
container_name: qdrant
restart: always
#ports:
#- "8060:6333"
environment:
QDRANT_API_KEY:
volumes:
- qdrant-data:/qdrant/storage
- qdrant-config:/qdrant/config/
volumes:
embedding-model:
qdrant-data:
qdrant-config: