-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yaml
69 lines (69 loc) · 1.73 KB
/
docker-compose.yaml
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
services:
api:
build: backend
develop:
watch:
- action: rebuild
path: .
ports:
- "8080:8080"
- "9464:9464"
environment:
- API_HOST=0.0.0.0
- DB_URL=jdbc:postgresql://db:5432
- DB_TYPE=PostgreSQL
- OTEL_EXPORTER_OTLP_ENDPOINT=http://tempo:4318
- OTEL_METRICS_EXPORTER=none # we configure this by hand
- OTEL_LOGS_EXPORTER=none
- OTEL_TRACES_EXPORTER=otlp
- OTEL_PROPAGATORS=tracecontext
- S3_RAG_DOCUMENT_BUCKET=cloudera-ai-rag-dev-us-west-2
- RAG_BACKEND_URL=http://rag-backend:8000
- AWS_DEFAULT_REGION=us-west-2
- AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
- AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
- S3_RAG_BUCKET_PREFIX=${S3_RAG_BUCKET_PREFIX}
depends_on:
- db
- rag-backend
ui:
build: ui
ports:
- "3000:3000"
depends_on:
- api
- rag-backend
environment:
- API_URL=http://api:8080
- LLM_SERVICE_URL=http://rag-backend:8000
- NODE_ENV=development
- NODE_HOST=0.0.0.0
rag-backend:
build: llm-service
develop:
watch:
- action: rebuild
path: .
ports:
- "8000:8000"
environment:
- AWS_DEFAULT_REGION=us-west-2
- AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
- AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
- OTEL_EXPORTER_OTLP_ENDPOINT=http://tempo:4318
- OTEL_SEMCONV_STABILITY_OPT_IN=http
- QDRANT_HOST=qdrant
depends_on:
- qdrant
db:
image: pgvector/pgvector:pg16
environment:
- POSTGRES_HOST_AUTH_METHOD=trust
ports:
- "5432:5432"
qdrant:
image: qdrant/qdrant
ports:
- "6333:6333"
environment:
- RUST_LOG=info