feat: Add docker-compose for RAG service and deployment script
This commit is contained in:
15
rag_service/docker-compose.yml
Normal file
15
rag_service/docker-compose.yml
Normal file
@@ -0,0 +1,15 @@
|
||||
version: '3.8'
|
||||
services:
|
||||
rag-service:
|
||||
image: rag-service:latest
|
||||
container_name: rag-service
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
ports:
|
||||
- "8000:8000"
|
||||
volumes:
|
||||
- /mnt/storage.rushg.me/data/z5/rushg.me:/data/rag_source:ro
|
||||
- ./db:/data/db
|
||||
environment:
|
||||
- OLLAMA_BASE_URL=http://192.168.1.2:30068
|
||||
Reference in New Issue
Block a user