-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
92 lines (86 loc) · 2.27 KB
/
Copy pathdocker-compose.yml
File metadata and controls
92 lines (86 loc) · 2.27 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
version: "3.8"
# =============================================================================
# VelesDB Benchmarks — ALL engines in Docker (fair conditions)
#
# Usage:
# docker compose build velesdb # Build VelesDB from source
# docker compose up -d # Start all engines
# docker compose ps # Check health
# =============================================================================
services:
velesdb:
build:
context: ../velesdb-core
dockerfile: Dockerfile
container_name: bench-velesdb
ports:
- "8080:8080"
volumes:
- velesdb_data:/data
environment:
- VELESDB_HOST=0.0.0.0
- VELESDB_PORT=8080
- VELESDB_DATA_DIR=/data
- VELESDB_NO_UPDATE_CHECK=1
- RUST_LOG=warn
healthcheck:
test: ["CMD", "curl", "-sf", "http://localhost:8080/health"]
interval: 5s
timeout: 3s
retries: 10
clickhouse:
image: clickhouse/clickhouse-server:24.12-alpine
container_name: bench-clickhouse
ports:
- "8123:8123"
- "9000:9000"
ulimits:
nofile:
soft: 262144
hard: 262144
volumes:
- clickhouse_data:/var/lib/clickhouse
- /tmp:/var/lib/clickhouse/user_files
environment:
- CLICKHOUSE_DB=benchmark
- CLICKHOUSE_DEFAULT_ACCESS_MANAGEMENT=1
healthcheck:
test: ["CMD", "clickhouse-client", "--query", "SELECT 1"]
interval: 5s
timeout: 3s
retries: 10
qdrant:
image: qdrant/qdrant:v1.13.2
container_name: bench-qdrant
ports:
- "6333:6333"
- "6334:6334"
volumes:
- qdrant_data:/qdrant/storage
healthcheck:
test: ["CMD-SHELL", "curl -sf http://localhost:6333/healthz || exit 1"]
interval: 5s
timeout: 3s
retries: 10
memgraph:
image: memgraph/memgraph:2.21.1
container_name: bench-memgraph
ports:
- "7687:7687"
- "7444:7444"
volumes:
- memgraph_data:/var/lib/memgraph
entrypoint:
- memgraph
- --bolt-port=7687
- --also-log-to-stderr
healthcheck:
test: ["CMD-SHELL", "echo 'RETURN 1;' | mgconsole --host 127.0.0.1 --port 7687 || exit 1"]
interval: 5s
timeout: 3s
retries: 10
volumes:
velesdb_data:
clickhouse_data:
qdrant_data:
memgraph_data: