-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
67 lines (61 loc) · 1.57 KB
/
docker-compose.yml
File metadata and controls
67 lines (61 loc) · 1.57 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
# =======================================================================
# i3T4AN (Ethan Blair)
# Project: Vector Knowledge Base
# File: Docker Compose configuration
# =======================================================================
version: '3.8'
services:
# Qdrant vector database
qdrant:
image: qdrant/qdrant:latest
container_name: vkb-qdrant
ports:
- "6333:6333"
volumes:
- ./qdrant_storage:/qdrant/storage
restart: unless-stopped
networks:
- vkb-network
# Backend FastAPI service
# Use --profile full to include, or omit for native backend mode
backend:
build:
context: .
dockerfile: Dockerfile
container_name: vkb-backend
ports:
- "8000:8000"
volumes:
- ./backend:/app/backend
- ./uploads:/app/backend/uploads
- ./backend_db:/app/backend_db
environment:
- QDRANT_HOST=qdrant
- QDRANT_PORT=6333
- MCP_ENABLED=${MCP_ENABLED:-true}
- MCP_PATH=${MCP_PATH:-/mcp}
- MCP_NAME=${MCP_NAME:-Vector Knowledge Base}
- MCP_AUTH_ENABLED=${MCP_AUTH_ENABLED:-false}
depends_on:
- qdrant
restart: unless-stopped
networks:
- vkb-network
# Frontend static file server
frontend:
image: nginx:alpine
container_name: vkb-frontend
ports:
- "8001:80"
volumes:
- ./frontend:/usr/share/nginx/html:ro
- ./nginx.conf:/etc/nginx/conf.d/default.conf:ro
restart: unless-stopped
networks:
- vkb-network
networks:
vkb-network:
driver: bridge
volumes:
qdrant_storage:
backend_data: