forked from darshanDevrai/brahmand
-
-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose.dev.yaml
More file actions
79 lines (74 loc) · 2.2 KB
/
docker-compose.dev.yaml
File metadata and controls
79 lines (74 loc) · 2.2 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
# Development Docker Compose configuration
# Uses local build instead of pre-built image
# Allows setting higher CTE depth for complex graph queries during testing
#
# Usage: docker-compose -f docker-compose.dev.yaml up
version: '3.8'
services:
clickhouse-service:
image: clickhouse/clickhouse-server:25.8.12
container_name: clickhouse-dev
environment:
CLICKHOUSE_DB: "brahmand"
CLICKHOUSE_USER: "test_user"
CLICKHOUSE_DEFAULT_ACCESS_MANAGEMENT: "1"
CLICKHOUSE_PASSWORD: "test_pass"
ports:
- "9000:9000"
- "8123:8123"
healthcheck:
test: ["CMD", "clickhouse-client", "--query", "SELECT 1"]
interval: 10s
timeout: 5s
retries: 5
start_period: 30s
volumes:
- clickhouse_data:/var/lib/clickhouse
neo4j:
image: neo4j:latest
container_name: neo4j-dev
environment:
NEO4J_AUTH: neo4j/test_password
NEO4J_PLUGINS: '["apoc"]'
NEO4J_apoc_export_file_enabled: "true"
NEO4J_apoc_import_file_enabled: "true"
NEO4J_apoc_import_file_use__neo4j__config: "true"
ports:
- "7474:7474"
volumes:
- neo4j_data:/data
- neo4j_logs:/logs
healthcheck:
test: ["CMD", "cypher-shell", "-u", "neo4j", "-p", "test_password", "RETURN 1"]
interval: 10s
timeout: 5s
retries: 5
start_period: 30s
clickgraph:
# Build from local source for development
build:
context: .
dockerfile: Dockerfile
container_name: clickgraph-dev
depends_on:
clickhouse-service:
condition: service_healthy
environment:
CLICKHOUSE_URL: "http://clickhouse-service:8123"
CLICKHOUSE_USER: "test_user"
CLICKHOUSE_PASSWORD: "test_pass"
CLICKHOUSE_DATABASE: "social"
GRAPH_CONFIG_PATH: "/app/benchmarks/social_network/schemas/social_benchmark.yaml"
# Override max CTE depth for complex variable-length path testing
# Default is 100, increase if you get "CTE depth limit exceeded" errors
CLICKGRAPH_MAX_CTE_DEPTH: "1000"
ports:
- "8080:8080"
- "7687:7687"
volumes:
- ./benchmarks:/app/benchmarks:ro
- ./schemas:/app/schemas:ro
volumes:
clickhouse_data:
neo4j_data:
neo4j_logs: