forked from SaiAkhil066/DeepSeek-RAG-Chatbot
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
25 lines (21 loc) · 904 Bytes
/
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
version: "3.8"
services:
deepgraph-rag-service:
container_name: deepgraph-rag-service
build: .
# Map Streamlit's default port 8501 in the container to 8501 on the host.
ports:
- "8501:8501"
# Environment variables for .env usage or direct injection (optional).
# If you have a .env file, Docker Compose can load them with env_file: .env
# Or define them inline:
environment:
- OLLAMA_API_URL=http://host.docker.internal:11434
- MODEL=deepseek-r1:7b
- EMBEDDINGS_MODEL=nomic-embed-text:latest
- CROSS_ENCODER_MODEL=cross-encoder/ms-marco-MiniLM-L-6-v2
# (Optional) If you want to mount your local code into the container for live development:
# volumes:
# - .:/usr/src/app
# If you want to override the Dockerfile CMD:
# command: ["streamlit", "run", "app.py", "--server.port=8501", "--server.address=0.0.0.0"]