Skip to content

Commit 0d029b6

Browse files
committed
chore: Minor fixes
1 parent 5eb03ec commit 0d029b6

4 files changed

Lines changed: 8 additions & 37 deletions

File tree

.env.template

Lines changed: 0 additions & 28 deletions
This file was deleted.

config/env/.env.template

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ API_VERSION=v1
55
PORT=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
1414
GEMINI_BASE_URL="https://generativelanguage.googleapis.com/v1beta"

docker/Dockerfile

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@ COPY --from=dependencies /app/node_modules ./node_modules
2424

2525
# Copy specific necessary files and directories
2626
COPY ./src ./src
27+
COPY ./types ./types
28+
COPY ./config ./config
2729
COPY ./tsconfig.json ./
2830
COPY ./package.json ./
2931

@@ -43,10 +45,7 @@ COPY --from=build /app/build ./build
4345
COPY --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
5251
CMD ["node", "./build/index.js"]

docker/docker-compose.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
services:
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:

0 commit comments

Comments
 (0)