forked from dmayboroda/minima
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose-chatgpt.yml
58 lines (55 loc) · 1.31 KB
/
docker-compose-chatgpt.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
version: '3.9'
services:
qdrant:
image: qdrant/qdrant:latest
container_name: qdrant
ports:
- 6333:6333
- 6334:6334
expose:
- 6333
- 6334
- 6335
volumes:
- ./qdrant_data:/qdrant/storage
environment:
QDRANT__LOG_LEVEL: "INFO"
indexer:
build:
context: ./indexer
dockerfile: Dockerfile
args:
EMBEDDING_MODEL_ID: ${EMBEDDING_MODEL_ID}
EMBEDDING_SIZE: ${EMBEDDING_SIZE}
START_INDEXING: ${START_INDEXING}
volumes:
- ${LOCAL_FILES_PATH}:/usr/src/app/local_files/
- ./indexer:/usr/src/app
ports:
- 8001:8000
environment:
- PYTHONPATH=/usr/src
- PYTHONUNBUFFERED=TRUE
- LOCAL_FILES_PATH=${LOCAL_FILES_PATH}
- EMBEDDING_MODEL_ID=${EMBEDDING_MODEL_ID}
- EMBEDDING_SIZE=${EMBEDDING_SIZE}
- START_INDEXING=${START_INDEXING}
- CONTAINER_PATH=/usr/src/app/local_files/
depends_on:
- qdrant
linker:
build: ./linker
volumes:
- ./linker:/usr/src/app
ports:
- 8002:8000
environment:
- PYTHONPATH=/usr/src
- PYTHONUNBUFFERED=TRUE
- FIRESTORE_COLLECTION_NAME=userTasks
- TASKS_COLLECTION=tasks
- USER_ID=${USER_ID}
- PASSWORD=${PASSWORD}
- FB_PROJECT=localragex
depends_on:
- qdrant