-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathcompose.yaml
More file actions
35 lines (34 loc) · 885 Bytes
/
Copy pathcompose.yaml
File metadata and controls
35 lines (34 loc) · 885 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
services:
mcp-readwise:
build:
context: .
args:
GIT_COMMIT: ${GIT_COMMIT:-unknown}
restart: unless-stopped
ports:
# Not bound to 127.0.0.1 because cloudflared tunnel connects via Tailscale IP
- "8010:8000"
environment:
- TRANSPORT=http
- HOST=0.0.0.0
- READWISE_TOKEN=${READWISE_TOKEN:-}
- MCP_API_KEY=${MCP_API_KEY:-}
- RESEND_API_KEY=${RESEND_API_KEY:-}
- READWISE_LIBRARY_EMAIL=${READWISE_LIBRARY_EMAIL:-}
- EPUB_FROM_ADDRESS=${EPUB_FROM_ADDRESS:-}
- FASTMCP_HOME=/data/fastmcp
- GIT_COMMIT=${GIT_COMMIT:-unknown}
deploy:
resources:
limits:
memory: 512m
cpus: "0.5"
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
volumes:
- fastmcp-data:/data/fastmcp
volumes:
fastmcp-data: