Files
mcp-ssh-orchestrator/compose/docker-compose.yml
T
Sammy Farida ecfda80776 feat: improve Docker Compose setup for end users and developers
- 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.
2025-10-25 10:11:46 -04:00

37 lines
1.4 KiB
YAML

# ─────────────────────────────────────────────────────────────
# 🚀 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
MCP_SSH_MAX_CONCURRENCY: ${MCP_SSH_MAX_CONCURRENCY:-5}
MCP_SSH_TIMEOUT_SEC: ${MCP_SSH_TIMEOUT_SEC:-45}
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