-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.simple.yml
More file actions
87 lines (76 loc) · 1.99 KB
/
docker-compose.simple.yml
File metadata and controls
87 lines (76 loc) · 1.99 KB
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
version: '3.8'
# Simplified Docker Compose for Info Naut
# Uses SQLite + Local File Storage (no external dependencies)
services:
backend:
build:
context: ./backend
dockerfile: Dockerfile.dev
container_name: infonaut-backend
ports:
- "8000:8000"
environment:
# Database Configuration (SQLite)
- RAG_STORE=sqlite
- SQLITE_FILE=/app/data/infonaut.db
# Vector Store Configuration (Local ChromaDB)
- VECTOR_STORE_TYPE=chroma
- CHROMA_URL=http://chromadb:8000
# OpenAI Configuration (replace with your actual key for production)
- OPENAI_API_KEY=${OPENAI_API_KEY:-your-openai-api-key-here}
- EMBEDDING_MODEL=text-embedding-3-small
- GENERATION_MODEL=gpt-4o-mini
# Server Configuration
- HOST=0.0.0.0
- PORT=8000
- TOP_K_RETRIEVAL=5
- GROUNDING_THRESHOLD=0.62
volumes:
- ./backend:/app
- ./data:/app/data
- ./uploads:/app/uploads
networks:
- infonaut-network
depends_on:
- chromadb
restart: unless-stopped
command: python -m uvicorn app.main:app --host 0.0.0.0 --port 8000 --reload
frontend:
build:
context: ./frontend
dockerfile: Dockerfile.dev
container_name: infonaut-frontend
ports:
- "3000:3000"
environment:
- NEXT_PUBLIC_API_URL=http://localhost:8000
- NODE_ENV=development
volumes:
- ./frontend:/app
- /app/node_modules
- /app/.next
networks:
- infonaut-network
depends_on:
- backend
restart: unless-stopped
command: npm run dev
chromadb:
image: chromadb/chroma:latest
container_name: infonaut-chromadb
ports:
- "8001:8000"
volumes:
- chroma_data:/chroma/chroma
networks:
- infonaut-network
restart: unless-stopped
environment:
- IS_PERSISTENT=TRUE
- ANONYMIZED_TELEMETRY=FALSE
volumes:
chroma_data:
driver: local
networks:
infonaut-network:
driver: bridge