-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
125 lines (112 loc) · 2.47 KB
/
docker-compose.yml
File metadata and controls
125 lines (112 loc) · 2.47 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
version: '3.8'
services:
rag-service:
build: .
ports:
- "50051:50051"
- "9090:9090"
environment:
- CUDA_VISIBLE_DEVICES=0
volumes:
- ./models:/app/models
- ./config:/app/config
deploy:
resources:
reservations:
devices:
- driver: nvidia
count: 1
capabilities: [gpu]
postgres:
image: ankane/pgvector:latest
ports:
- "5432:5432"
environment:
POSTGRES_DB: ragdb
POSTGRES_USER: user
POSTGRES_PASSWORD: password
volumes:
- pg_data:/var/lib/postgresql/data
redis-cluster:
image: redis:7.0-alpine
command: redis-server --cluster-enabled yes
ports:
- "7000-7002:7000-7002"
volumes:
- redis_data:/data
minio:
image: minio/minio
ports:
- "9000:9000"
- "9001:9001"
environment:
MINIO_ROOT_USER: minioadmin
MINIO_ROOT_PASSWORD: minioadmin
command: server /data --console-address ":9001"
volumes:
- minio_data:/data
nats:
image: nats:2.9-alpine
ports:
- "4222:4222"
- "8222:8222"
influxdb:
image: influxdb:2.7
ports:
- "8086:8086"
environment:
- DOCKER_INFLUXDB_INIT_MODE=setup
- DOCKER_INFLUXDB_INIT_USERNAME=admin
- DOCKER_INFLUXDB_INIT_PASSWORD=password123
- DOCKER_INFLUXDB_INIT_ORG=eino
- DOCKER_INFLUXDB_INIT_BUCKET=rag-metrics
volumes:
- influx_data:/var/lib/influxdb2
jaeger:
image: jaegertracing/all-in-one:1.47
ports:
- "6831:6831/udp"
- "16686:16686"
prometheus:
image: prom/prometheus:v2.45.0
ports:
- "9091:9090"
volumes:
- ./prometheus.yml:/etc/prometheus/prometheus.yml
- prom_data:/prometheus
model-trainer:
build:
context: .
dockerfile: Dockerfile.trainer
deploy:
replicas: 3
environment:
- TRAINING_MODE=distributed
volumes:
- training_data:/data
experiment-tracker:
image: mlflow:latest
ports:
- "5000:5000"
environment:
- MLFLOW_TRACKING_URI=postgresql://user:password@postgres:5432/mlflow
feature-store:
image: feast:latest
ports:
- "6566:6566"
volumes:
- feast_data:/feast/data
metrics-analyzer:
build: ./analyzer
environment:
- ANALYSIS_MODE=realtime
depends_on:
- influxdb
volumes:
pg_data:
redis_data:
minio_data:
influx_data:
prom_data:
training_data:
feast_data: