forked from memory-graph/memory-graph
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.full.yml
More file actions
43 lines (40 loc) · 1.07 KB
/
docker-compose.full.yml
File metadata and controls
43 lines (40 loc) · 1.07 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
version: '3.8'
services:
memgraph:
image: memgraph/memgraph-platform
container_name: memorygraph-memgraph
ports:
- "7687:7687" # Bolt protocol
- "3000:3000" # Memgraph Lab
environment:
- MEMGRAPH_MEM_LIMIT=4096
volumes:
- memgraph_data:/var/lib/memgraph
- memgraph_log:/var/log/memgraph
healthcheck:
test: ["CMD-SHELL", "mgconsole --host memgraph --port 7687 --use-ssl=False --query 'RETURN 1;' || exit 1"]
interval: 10s
timeout: 5s
retries: 5
restart: unless-stopped
memorygraph:
build:
context: .
dockerfile: Dockerfile
container_name: memorygraph-server
depends_on:
memgraph:
condition: service_healthy
stdin_open: true # Required for MCP stdio
tty: true # Required for MCP stdio
environment:
- MEMORY_BACKEND=memgraph
- MEMORY_TOOL_PROFILE=full
- MEMORY_MEMGRAPH_URI=bolt://memgraph:7687
- MEMORY_LOG_LEVEL=INFO
restart: unless-stopped
volumes:
memgraph_data:
driver: local
memgraph_log:
driver: local