mirror of
https://github.com/samerfarida/mcp-ssh-orchestrator.git
synced 2026-11-20 20:33:16 +00:00
- Rename docker-compose files to follow convention: * docker-compose.yml (default, production - pulls from ghcr.io) * docker-compose.dev.yml (development - builds from source) - Enhanced setup.sh with auto-detection for dev vs end-user modes - Completely restructured compose/README.md with clear paths for both workflows - Updated main README with separate instructions for end users vs developers - Updated CHANGELOG with all changes This provides a better out-of-the-box experience for end users who just want to pull and run, while maintaining a solid development workflow for contributors.
37 lines
1.4 KiB
YAML
37 lines
1.4 KiB
YAML
# ─────────────────────────────────────────────────────────────
|
|
# 🧩 mcp-ssh-orchestrator (STDIO MCP Server)
|
|
# Purpose: Local test or integration with Claude / Docker MCP
|
|
# ─────────────────────────────────────────────────────────────
|
|
|
|
services:
|
|
mcp-ssh:
|
|
container_name: mcp-ssh-orchestrator
|
|
build:
|
|
context: ..
|
|
dockerfile: Dockerfile
|
|
restart: "no"
|
|
stdin_open: true
|
|
tty: true
|
|
user: "1000:1000" # Run as non-root user
|
|
environment:
|
|
MCP_SSH_CONFIG_DIR: /app/config
|
|
MCP_SSH_MAX_CONCURRENCY: ${MCP_SSH_MAX_CONCURRENCY:-5}
|
|
MCP_SSH_TIMEOUT_SEC: ${MCP_SSH_TIMEOUT_SEC:-45}
|
|
PYTHONUNBUFFERED: "1"
|
|
volumes:
|
|
- ../config:/app/config:ro # Main YAML configs
|
|
- ../keys:/app/keys:ro # Optional private keys
|
|
- ../secrets:/app/secrets:ro # Docker Desktop secrets or passwords
|
|
entrypoint: ["python", "-m", "mcp_ssh.mcp_server", "stdio"]
|
|
working_dir: /app
|
|
networks:
|
|
- mcpnet
|
|
healthcheck:
|
|
test: ["CMD", "python", "-c", "print('mcp-ssh health ok')"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
|
|
networks:
|
|
mcpnet:
|
|
driver: bridge |