forked from Gauntlet-AI/class-3-rag-fusion-similarity-search
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
42 lines (42 loc) · 1.19 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
41
42
services:
upload_service:
build:
args:
INSTALL_JUPYTER: false
environment:
- PINECONE_API_KEY=${PINECONE_API_KEY}
- LANGCHAIN_API_KEY=${LANGCHAIN_API_KEY}
- LANGCHAIN_TRACING_V2=${LANGCHAIN_TRACING_V2}
- LANGCHAIN_PROJECT=${LANGCHAIN_PROJECT}
- PINECONE_INDEX=${PINECONE_INDEX}
volumes:
- .:/app
command: python upload.py
rag_app:
build:
args:
INSTALL_JUPYTER: false
environment:
- PINECONE_API_KEY=${PINECONE_API_KEY}
- LANGCHAIN_API_KEY=${LANGCHAIN_API_KEY}
- LANGCHAIN_TRACING_V2=${LANGCHAIN_TRACING_V2}
- LANGCHAIN_PROJECT=${LANGCHAIN_PROJECT}
- PINECONE_INDEX=${PINECONE_INDEX}
volumes:
- .:/app
command: python main.py
jupyter:
build:
args:
INSTALL_JUPYTER: true
ports:
- "8888:8888"
environment:
- PINECONE_API_KEY=${PINECONE_API_KEY}
- LANGCHAIN_API_KEY=${LANGCHAIN_API_KEY}
- LANGCHAIN_TRACING_V2=${LANGCHAIN_TRACING_V2}
- LANGCHAIN_PROJECT=${LANGCHAIN_PROJECT}
- PINECONE_INDEX=${PINECONE_INDEX}
volumes:
- .:/app
command: jupyter notebook --ip=0.0.0.0 --port=8888 --no-browser --allow-root