-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
executable file
·57 lines (55 loc) · 2.21 KB
/
docker-compose.yml
File metadata and controls
executable file
·57 lines (55 loc) · 2.21 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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# Base compose file — uses named Docker volumes for tools, artefacts, and caches.
# Suitable for production / CI / any environment without the repo checked out.
#
# handlers/ is baked into the image — no volume needed.
#
# Populate tools volume before first run:
# docker run --rm -v mcpproxy-tools:/dst -v "$(pwd)/tools":/src alpine cp -r /src/. /dst/
#
# Volumes
# ───────
# mcpproxy-tools /app/tools — provider YAML configs (required)
# mcpproxy-files /app/files — provider output artefacts surfaced via
# mcpproxy__listfiles / mcpproxy__getfile
# (e.g. Playwright screenshots under
# /app/files/playwright)
# mcpproxy-repos /app/repos — git workdirs + build artefacts for
# repository-mode providers
# mcpproxy-cache /root/.cache — XDG cache (pip wheels, uv wheels,
# Playwright browser binaries, …)
# mcpproxy-npm /root/.npm — npm/npx package cache
# mcpproxy-uv-tools /root/.local/share/uv — uvx per-tool venvs
#
# Every cache/artefact volume is optional in spirit — remove the entry and the
# container falls back to ephemeral storage on its writable layer (re-clones,
# re-downloads, re-builds on each fresh container).
#
# For local development, docker-compose.override.yml is merged automatically.
services:
mcp-host:
build: .
ports:
- "${MCP_HOST_PORT:-8888}:8888"
- "${UI_HOST_PORT:-8889}:8889"
env_file:
- ./.env
environment:
MCP_TOOL_CONFIG_DIR: "/app/tools"
MCP_ENV_FILE: "/app/.env"
MCPPROXY_FILES_DIR: "/app/files"
MCPPROXY_REPOS_DIR: "/app/repos"
volumes:
- mcpproxy-tools:/app/tools
- mcpproxy-files:/app/files
- mcpproxy-repos:/app/repos
- mcpproxy-cache:/root/.cache
- mcpproxy-npm:/root/.npm
- mcpproxy-uv-tools:/root/.local/share/uv
- ./.env:/app/.env
volumes:
mcpproxy-tools:
mcpproxy-files:
mcpproxy-repos:
mcpproxy-cache:
mcpproxy-npm:
mcpproxy-uv-tools: