forked from Gauntlet-AI/class-4-rag-summary-lookup
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
45 lines (42 loc) · 1.29 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
43
44
45
services:
upload_summaries:
build: .
ports:
- "80:80"
environment:
- OPENAI_API_KEY=${OPENAI_API_KEY}
- PINECONE_API_KEY=${PINECONE_API_KEY}
- PINECONE_SUMMARY_INDEX=${PINECONE_SUMMARY_INDEX}
- LANGCHAIN_API_KEY=${LANGCHAIN_API_KEY}
- LANGCHAIN_TRACING_V2=${LANGCHAIN_TRACING_V2}
- LANGCHAIN_PROJECT=${LANGCHAIN_PROJECT}
volumes:
- .:/app
command: python upload_summaries.py
upload_chunks:
build: .
ports:
- "80:80"
environment:
- OPENAI_API_KEY=${OPENAI_API_KEY}
- PINECONE_API_KEY=${PINECONE_API_KEY}
- PINECONE_CHUNK_INDEX=${PINECONE_CHUNK_INDEX}
- LANGCHAIN_API_KEY=${LANGCHAIN_API_KEY}
- LANGCHAIN_TRACING_V2=${LANGCHAIN_TRACING_V2}
- LANGCHAIN_PROJECT=${LANGCHAIN_PROJECT}
volumes:
- .:/app
command: python upload_chunks.py
summary_lookup:
build: .
environment:
- OPENAI_API_KEY=${OPENAI_API_KEY}
- PINECONE_API_KEY=${PINECONE_API_KEY}
- PINECONE_SUMMARY_INDEX=${PINECONE_SUMMARY_INDEX}
- PINECONE_CHUNK_INDEX=${PINECONE_CHUNK_INDEX}
- LANGCHAIN_API_KEY=${LANGCHAIN_API_KEY}
- LANGCHAIN_TRACING_V2=${LANGCHAIN_TRACING_V2}
- LANGCHAIN_PROJECT=${LANGCHAIN_PROJECT}
volumes:
- .:/app
command: python main.py