-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.gicm.yml
More file actions
67 lines (62 loc) · 1.6 KB
/
Copy pathdocker-compose.gicm.yml
File metadata and controls
67 lines (62 loc) · 1.6 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
# gICM Infrastructure Stack
# Usage: docker compose -f docker-compose.gicm.yml up -d
#
# This starts the required infrastructure for THE DOOR:
# - Qdrant (vector database for semantic search)
# - Context Engine (Python indexing service)
#
# After starting, run:
# gicm init
# gicm index
# gicm setup-claude
version: '3.8'
services:
# Qdrant Vector Database
# Stores code embeddings for semantic search
qdrant:
image: qdrant/qdrant:latest
container_name: gicm-qdrant
ports:
- "6333:6333" # REST API
- "6334:6334" # gRPC
volumes:
- gicm-qdrant-data:/qdrant/storage
environment:
- QDRANT__SERVICE__GRPC_PORT=6334
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:6333/collections"]
interval: 10s
timeout: 5s
retries: 5
restart: unless-stopped
# Context Engine (Python)
# Indexes codebases and provides semantic search
context-engine:
build:
context: ./services/context-engine
dockerfile: Dockerfile
container_name: gicm-context-engine
ports:
- "8000:8000"
environment:
- QDRANT_HOST=qdrant
- QDRANT_PORT=6333
- GEMINI_API_KEY=${GEMINI_API_KEY:-}
- PYTHONUNBUFFERED=1
volumes:
- ./:/workspace:ro # Mount workspace for indexing
depends_on:
qdrant:
condition: service_healthy
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/health"]
interval: 10s
timeout: 5s
retries: 5
restart: unless-stopped
volumes:
gicm-qdrant-data:
name: gicm-qdrant-data
networks:
default:
name: gicm-network