Files
mcp-ssh-orchestrator/compose/docker-compose.dev.yml
Sammy Farida f874b13d34 Security/fix command chaining bypass (#68)
* fix: Remove unused variable in fix-markdownlint.py

* fix: Remove unused code_block_lang variable

* chore: Update documentation, workflows, and examples

- Updated all wiki documentation files (markdownlint fixes)
- Updated GitHub workflows and issue templates
- Updated example configuration files
- Updated metadata.json and pyproject.toml
- Updated Dockerfile and compose files
- Updated validation scripts

Note: yamllint warnings are style-only (missing ---, line length) and don't affect functionality
2025-11-18 07:00:42 -05:00

36 lines
1.0 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
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