forked from Epistates/turbomcp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
40 lines (37 loc) · 923 Bytes
/
docker-compose.yml
File metadata and controls
40 lines (37 loc) · 923 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
39
services:
server:
build: .
image: turbomcp-server:latest
container_name: turbomcp-server
environment:
- RUST_LOG=info
- MCP_SSE_PORT=8080
stdin_open: true
tty: true
restart: unless-stopped
healthcheck:
test: ["CMD", "sh", "-c", "curl -sf http://localhost:8080/health | grep -q healthy"]
interval: 10s
timeout: 5s
retries: 5
dev:
build:
context: .
target: builder
image: turbomcp-dev:latest
container_name: turbomcp-dev
working_dir: /app
environment:
- RUST_LOG=info
- PATH=/usr/local/cargo/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
volumes:
- .:/app
- cargo-registry:/usr/local/cargo/registry
- cargo-git:/usr/local/cargo/git
- target-cache:/app/target
stdin_open: true
tty: true
volumes:
cargo-registry: {}
cargo-git: {}
target-cache: {}