-
Notifications
You must be signed in to change notification settings - Fork 63
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
57 lines (51 loc) · 1.09 KB
/
Copy pathdocker-compose.yml
File metadata and controls
57 lines (51 loc) · 1.09 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
# docker-compose.yml
version: '3.8'
services:
# 1. Postgres (Chat History)
postgres:
image: postgres:15-alpine
environment:
POSTGRES_USER: ragadmin
POSTGRES_PASSWORD: changeme
POSTGRES_DB: rag_db
ports:
- "5432:5432"
volumes:
- pg_data:/var/lib/postgresql/data
# 2. Redis (Cache)
redis:
image: redis:7-alpine
ports:
- "6379:6379"
# 3. Qdrant (Vector DB)
qdrant:
image: qdrant/qdrant:v1.7.3
ports:
- "6333:6333"
volumes:
- qdrant_data:/qdrant/storage
# 4. Neo4j (Graph DB)
neo4j:
image: neo4j:5.16.0-community
environment:
NEO4J_AUTH: neo4j/password
NEO4J_dbms_memory_pagecache_size: 1G
ports:
- "7474:7474" # HTTP
- "7687:7687" # Bolt
volumes:
- neo4j_data:/data
# 5. MinIO (S3 Mock) - Optional for full offline dev
minio:
image: minio/minio
command: server /data
ports:
- "9000:9000"
- "9001:9001"
environment:
MINIO_ROOT_USER: minioadmin
MINIO_ROOT_PASSWORD: minioadmin
volumes:
pg_data:
qdrant_data:
neo4j_data: