forked from vektori-ai/vektori
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
116 lines (110 loc) · 2.83 KB
/
Copy pathdocker-compose.yml
File metadata and controls
116 lines (110 loc) · 2.83 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
version: "3.8"
services:
postgres:
image: pgvector/pgvector:pg16
environment:
POSTGRES_DB: vektori
POSTGRES_USER: vektori
POSTGRES_PASSWORD: vektori
ports:
- "5432:5432"
volumes:
- pgdata:/var/lib/postgresql/data
- ./scripts/init.sql:/docker-entrypoint-initdb.d/init.sql
healthcheck:
test: ["CMD-SHELL", "pg_isready -U vektori"]
interval: 5s
timeout: 5s
retries: 5
neo4j:
image: neo4j:5
environment:
NEO4J_AUTH: neo4j/password
NEO4J_PLUGINS: '["apoc"]'
NEO4J_dbms_security_procedures_unrestricted: apoc.*
ports:
- "7474:7474" # HTTP browser
- "7687:7687" # Bolt
volumes:
- neo4jdata:/data
healthcheck:
test: ["CMD", "cypher-shell", "-u", "neo4j", "-p", "password", "RETURN 1"]
interval: 10s
timeout: 10s
retries: 10
qdrant:
image: qdrant/qdrant:latest
ports:
- "6333:6333" # REST
- "6334:6334" # gRPC
volumes:
- qdrantdata:/qdrant/storage
healthcheck:
test: ["CMD-SHELL", "curl -sf http://localhost:6333/healthz || exit 1"]
interval: 5s
timeout: 5s
retries: 10
etcd:
image: quay.io/coreos/etcd:v3.5.5
environment:
ETCD_AUTO_COMPACTION_MODE: revision
ETCD_AUTO_COMPACTION_RETENTION: "1000"
ETCD_QUOTA_BACKEND_BYTES: "4294967296"
ETCD_SNAPSHOT_COUNT: "50000"
command:
- /usr/local/bin/etcd
- -advertise-client-urls=http://127.0.0.1:2379
- -listen-client-urls=http://0.0.0.0:2379
- --data-dir=/etcd
ports:
- "2379:2379"
volumes:
- etcddata:/etcd
healthcheck:
test: ["CMD-SHELL", "ETCDCTL_API=3 etcdctl --endpoints=http://127.0.0.1:2379 endpoint health || exit 1"]
interval: 5s
timeout: 5s
retries: 20
minio:
image: minio/minio:RELEASE.2024-02-17T01-15-57Z
environment:
MINIO_ROOT_USER: minioadmin
MINIO_ROOT_PASSWORD: minioadmin
command: minio server /minio_data
ports:
- "9000:9000"
volumes:
- miniodata:/minio_data
healthcheck:
test: ["CMD-SHELL", "/usr/bin/mc ready local || exit 1"]
interval: 5s
timeout: 5s
retries: 20
milvus:
image: milvusdb/milvus:v2.5.3
command: ["milvus", "run", "standalone"]
environment:
ETCD_ENDPOINTS: etcd:2379
MINIO_ADDRESS: minio:9000
ports:
- "19530:19530" # Milvus API
- "9091:9091" # Health/metrics
volumes:
- milvusdata:/var/lib/milvus
depends_on:
etcd:
condition: service_healthy
minio:
condition: service_healthy
healthcheck:
test: ["CMD-SHELL", "curl -sf http://localhost:9091/healthz || exit 1"]
interval: 5s
timeout: 5s
retries: 20
volumes:
pgdata:
neo4jdata:
qdrantdata:
etcddata:
miniodata:
milvusdata: