Skip to content

Commit 55e235a

Browse files
committed
add example docker-compose.yml file
1 parent 570611a commit 55e235a

File tree

1 file changed

+31
-0
lines changed

1 file changed

+31
-0
lines changed
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
services:
2+
# Deploy Neo4j Database (optional)
3+
neo4j:
4+
image: neo4j:5.26.1 # or another version
5+
environment:
6+
- NEO4J_AUTH=neo4j/password
7+
ports:
8+
- "7474:7474"
9+
- "7687:7687"
10+
volumes:
11+
- neo4j_data:/data
12+
13+
# Deploy Cypher MCP Server
14+
mcp-neo4j-cypher-server:
15+
image: mcp/neo4j-cypher:latest
16+
ports:
17+
- "8000:8000"
18+
environment:
19+
- NEO4J_URI=bolt://host.docker.internal:7687
20+
- NEO4J_USERNAME=neo4j
21+
- NEO4J_PASSWORD=password
22+
- NEO4J_DATABASE=neo4j
23+
- NEO4J_TRANSPORT=sse
24+
- NEO4J_MCP_SERVER_HOST=0.0.0.0 # must be 0.0.0.0 for sse transport in Docker
25+
- NEO4J_MCP_SERVER_PORT=8000
26+
- NEO4J_NAMESPACE=local
27+
depends_on:
28+
- neo4j
29+
30+
volumes:
31+
neo4j_data:

0 commit comments

Comments
 (0)