# ============================================================
# mcp-ssh-orchestrator (Production Ready)
# Purpose: For end users pulling the published image from ghcr.io
# Usage: docker compose up
# Note: For development, use docker-compose.dev.yml instead
# ============================================================
services:
mcp-ssh:
container_name: mcp-ssh-orchestrator
image: ghcr.io/samerfarida/mcp-ssh-orchestrator:latest
restart: "no"
stdin_open: true
tty: true
environment:
MCP_SSH_CONFIG_DIR: /app/config
PYTHONUNBUFFERED: "1"
volumes:
# Mount your local config directory (create it first!)
- ../config:/app/config:ro # Main YAML configs
- ../keys:/app/keys:ro # Optional private keys
- ../secrets:/app/secrets:ro # Docker Desktop secrets or passwords
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