File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -5,10 +5,10 @@ API_VERSION=v1
55PORT = 8080
66
77# RAG Query API Key (this doesn't offer protection, just identifies the client)
8- RAG_QUERY_API_KEY = " YOUR_OWN_RAG_QUERY_API_KEY_HERE "
8+ RAG_QUERY_API_KEY = " RAG_QUERY_API_KEY "
99
1010# RAG Management API Key (protects management endpoints)
11- RAG_MANAGEMENT_API_KEY = " YOUR_OWN_RAG_MANAGEMENT_API_KEY_HERE "
11+ RAG_MANAGEMENT_API_KEY = " RAG_MANAGEMENT_API_KEY "
1212
1313# Gemini Configuration
1414GEMINI_BASE_URL = " https://generativelanguage.googleapis.com/v1beta"
Original file line number Diff line number Diff line change @@ -24,6 +24,8 @@ COPY --from=dependencies /app/node_modules ./node_modules
2424
2525# Copy specific necessary files and directories
2626COPY ./src ./src
27+ COPY ./types ./types
28+ COPY ./config ./config
2729COPY ./tsconfig.json ./
2830COPY ./package.json ./
2931
@@ -43,10 +45,7 @@ COPY --from=build /app/build ./build
4345COPY --from=build /app/node_modules ./node_modules
4446
4547# Copy additional files needed for runtime
46- COPY package.json ./
47-
48- # Expose service on port 8080
49- EXPOSE 8080
48+ COPY ./package.json ./
5049
5150# Start the application
5251CMD ["node" , "./build/index.js" ]
Original file line number Diff line number Diff line change 11services :
22 api :
3- container_name : api
3+ container_name : rag- api
44 ports :
55 - " ${PORT:-8080}:8080"
66 volumes :
@@ -14,7 +14,7 @@ services:
1414 - core-network
1515
1616 chromadb :
17- container_name : chromadb
17+ container_name : rag- chromadb
1818 image : chromadb/chroma
1919 volumes :
2020 - chroma-data:/chroma/chroma
@@ -24,7 +24,7 @@ services:
2424 - core-network
2525
2626 mongodb :
27- container_name : mongodb
27+ container_name : rag- mongodb
2828 image : mongo:6
2929 restart : unless-stopped
3030 volumes :
You can’t perform that action at this time.
0 commit comments