-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
35 lines (33 loc) · 935 Bytes
/
docker-compose.yml
File metadata and controls
35 lines (33 loc) · 935 Bytes
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
# docker-compose para PRODUCCIÓN (entrega al cliente)
# No contiene código fuente - usa imagen pre-construida
services:
qdrant:
image: qdrant/qdrant:latest
ports:
- "6333:6333"
volumes:
- qdrant_data:/qdrant/storage
restart: unless-stopped
app:
image: kabots/rag-mvp-client:latest
ports:
- "8000:8000"
environment:
- IN_DOCKER=true
- QDRANT_URL=http://qdrant:6333
# host.docker.internal works on Windows & Mac Docker Desktop natively
# On Linux: extra_hosts below maps it to the host gateway
- OLLAMA_BASE_URL=http://host.docker.internal:11434
- SHARE_PATH=/app/shared
- OLLAMA_CHAT_MODEL
extra_hosts:
- "host.docker.internal:host-gateway" # Linux compatibility
volumes:
- ./shared:/app/shared
- chat_data:/app/data
depends_on:
- qdrant
restart: unless-stopped
volumes:
qdrant_data:
chat_data: