-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.mcp.yml
More file actions
38 lines (36 loc) · 851 Bytes
/
docker-compose.mcp.yml
File metadata and controls
38 lines (36 loc) · 851 Bytes
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
services:
mcp-server:
build:
context: .
dockerfile: Dockerfile
image: mcp-server:latest
container_name: mcp-server
ports:
- "7147:7147"
volumes:
- ${MCP_WORKSPACE:-.}:/workspace:ro
- mcp-data:/data
env_file:
- .env
environment:
- ASPNETCORE_ENVIRONMENT=Production
- Mcp__Port=7147
- Mcp__RepoRoot=/workspace
- Mcp__DataSource=mcp.db
- Mcp__DataDirectory=/data
- VectorIndex__IndexPath=/data/vector.idx
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:7147/health"]
interval: 30s
timeout: 3s
start_period: 10s
retries: 3
restart: unless-stopped
networks:
- mcp-network
volumes:
mcp-data:
driver: local
networks:
mcp-network:
driver: bridge