-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
78 lines (74 loc) · 1.76 KB
/
Copy pathdocker-compose.yml
File metadata and controls
78 lines (74 loc) · 1.76 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
services:
intent-service:
build:
context: .
dockerfile: services/intent_service/Dockerfile
ports:
- "8001:8001"
environment:
- GEMINI_API_KEY=${GEMINI_API_KEY}
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8001/health"]
interval: 30s
timeout: 10s
retries: 3
rag-service:
build:
context: .
dockerfile: services/rag_service/Dockerfile
ports:
- "8002:8002"
environment:
- GEMINI_API_KEY=${GEMINI_API_KEY}
volumes:
- ./services/rag_service/knowledge_base:/app/services/rag_service/knowledge_base
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8002/health"]
interval: 30s
timeout: 10s
retries: 3
lead-service:
build:
context: .
dockerfile: services/lead_service/Dockerfile
ports:
- "8003:8003"
volumes:
- ./data/leads:/app/data
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8003/health"]
interval: 30s
timeout: 10s
retries: 3
orchestrator:
build:
context: .
dockerfile: orchestrator/Dockerfile
ports:
- "8004:8004"
environment:
- GEMINI_API_KEY=${GEMINI_API_KEY}
volumes:
- ./data/conversations:/app/data
depends_on:
- intent-service
- rag-service
- lead-service
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8004/health"]
interval: 30s
timeout: 10s
retries: 3
gateway:
build:
context: .
dockerfile: gateway/Dockerfile
ports:
- "8000:8000"
depends_on:
- orchestrator
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/health"]
interval: 30s
timeout: 10s
retries: 3