I built a self-hosted deploy tool that looks like tmux (and can be driven by an AI agent)
Описание и применение
Создано локальное приложение deploy.me, которое упрощает развертывание нескольких проектов на личных серверах, используя ssh, rsync и docker compose, с интерфейсом, похожим на tmux, и возможностью управления через AI.
Задача
Deploying multiple projects to personal servers was cumbersome with manual ssh, git pull, and docker compose commands, and Kubernetes was overkill.
Результат
Deploy.me automates deployment steps, provides a tmux-like UI, supports AI-driven commands, and ensures zero downtime with blue/green strategy and automatic rollback.
Рабочий процесс
- Read servers from ~/.ssh/config
- Import projects from GitHub or local folder
- Pre‑flight checks (reachability, lock, existing compose)
- Deliver (choose GHCR image, archive, rsync, or git fetch)
- Release (create timestamped release, symlink envs, switch current)
- Docker Compose (config check, build/pull, migrations, up -d)
- Health gate (service health, URL, custom command)
- Automatic rollback if health gate fails
- Blue/green deployment for zero downtime
Доказательства
I deploy a handful of projects to a handful of my own servers. Not enough to justify Kubernetes, too many to keep doing ssh, git pull, docker compose up -d and hoping.
deploy.me: a local, Dockerized admin app. You run it on your own laptop (macOS, Linux, or Windows with WSL2) at https://deployme.localhost.
A deploy is a pipeline of recorded steps, each with its own log: ...
The UI is a tmux session... panes you split with Ctrl+b % and Ctrl+b "...
php artisan deployme:mcp is an MCP server over stdio. Point Claude, Cursor or VS Code at it and the agent can look around, explain why a run failed, and plan a deploy.
- Дата записи: 2026-10-17T23:41:35.353Z