forked from memory-graph/memory-graph
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.neo4j.yml
More file actions
49 lines (46 loc) · 1.22 KB
/
docker-compose.neo4j.yml
File metadata and controls
49 lines (46 loc) · 1.22 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
version: '3.8'
services:
neo4j:
image: neo4j:5-community
container_name: memorygraph-neo4j
ports:
- "7474:7474" # Neo4j Browser
- "7687:7687" # Bolt protocol
environment:
- NEO4J_AUTH=neo4j/password
- NEO4J_dbms_memory_heap_initial__size=1g
- NEO4J_dbms_memory_heap_max__size=2g
- NEO4J_dbms_memory_pagecache_size=1g
- NEO4J_PLUGINS=["apoc"]
volumes:
- neo4j_data:/data
- neo4j_logs:/logs
healthcheck:
test: ["CMD-SHELL", "cypher-shell -u neo4j -p password 'RETURN 1;' || exit 1"]
interval: 10s
timeout: 5s
retries: 5
restart: unless-stopped
memorygraph:
build:
context: .
dockerfile: Dockerfile
container_name: memorygraph-server
depends_on:
neo4j:
condition: service_healthy
stdin_open: true # Required for MCP stdio
tty: true # Required for MCP stdio
environment:
- MEMORY_BACKEND=neo4j
- MEMORY_TOOL_PROFILE=full
- MEMORY_NEO4J_URI=bolt://neo4j:7687
- MEMORY_NEO4J_USER=neo4j
- MEMORY_NEO4J_PASSWORD=password
- MEMORY_LOG_LEVEL=INFO
restart: unless-stopped
volumes:
neo4j_data:
driver: local
neo4j_logs:
driver: local