Files
remote-mcp-manager/docker-compose.yml
T
dasemuandClaude Sonnet 5.5 9a85c3bca0 feat: show the installed commit and how many newer commits the remote has
The Manager card now shows the commit SHA the image was built from (GIT_SHA build arg, passed
by the panel's self-update and documented for compose) and counts the commits SELF_UPDATE_REF
has beyond it, with their subjects and a "Check for updates" button. The check is a cached,
background, history-only git fetch so GET /api/system never waits on it.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-19 09:14:35 +02:00

41 lines
1.4 KiB
YAML

services:
manager:
build:
context: .
args:
# export GIT_SHA=$(git rev-parse HEAD) before `docker compose up -d --build` so the panel
# can show which commit is installed and how far behind the remote it is.
GIT_SHA: ${GIT_SHA:-unknown}
restart: unless-stopped
ports:
- "127.0.0.1:3000:3000"
environment:
PORT: 3000
DOCKER_SOCKET_PATH: /var/run/docker.sock
MCP_NETWORK_NAME: mcp-net
DATA_DIR: /repo/data
PUBLIC_BASE_URL: ${PUBLIC_BASE_URL}
ADMIN_PASSWORD: ${ADMIN_PASSWORD}
SESSION_SECRET: ${SESSION_SECRET}
MASTER_KEY: ${MASTER_KEY}
CONTAINER_MEMORY_MB: ${CONTAINER_MEMORY_MB:-512}
CONTAINER_CPUS: ${CONTAINER_CPUS:-1}
PROXY_TIMEOUT_MS: ${PROXY_TIMEOUT_MS:-300000}
MAX_PROXY_REQUESTS: ${MAX_PROXY_REQUESTS:-100}
MANAGER_MEMORY_LIMIT_MB: ${MANAGER_MEMORY_LIMIT_MB:-512}
SELF_UPDATE_REPO_URL: ${SELF_UPDATE_REPO_URL:-}
SELF_UPDATE_REF: ${SELF_UPDATE_REF:-master}
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- ./data:/repo/data
# Reuses the host's own SSH key/known_hosts so the manager can `git clone` private
# repos over ssh:// the same way the host itself already does. Read-only.
# SSH_DIR must be an absolute path (compose doesn't expand "~").
- ${SSH_DIR}:/root/.ssh:ro
networks:
- mcp-net
networks:
mcp-net:
name: mcp-net