A single-machine Docker Swarm deployment platform with NestJS backend, Prisma ORM, Telegram bot integration, and MCP server support.
- Isolated Environments: Per-environment overlay networks with security hardening
- Automated SSL: Let's Encrypt integration via Nginx reverse proxy
- API Key Authentication: Secure access via Telegram magic links
- MCP Server: Claude Code integration for AI-powered deployments
- Real-time Monitoring: Container health checks and log streaming
- Telegram Bot: User-friendly management interface
- Backend: NestJS + Prisma ORM
- Database: PostgreSQL
- Cache: Redis
- Orchestration: Docker Swarm (single machine)
- Reverse Proxy: Nginx with Let's Encrypt
- Bot: Telegram via Telegraf
- MCP: @rekog/mcp-nest
# Install dependencies
cd backend
npm install
# Set up environment
cp .env.example .env
# Edit .env with your configuration
# Start services
docker-compose up -d
# Run migrations
npx prisma migrate dev
# Start backend
npm run start:dev# Configure environment
cp .env.example .env.production
# Edit .env.production
# Deploy
./deploy.sh- Each environment gets a private overlay network
- Containers are attached only to their environment's network
- Nginx dynamically attaches/detaches from overlays for public access
cap_drop: ALLon all containersno-new-privilegessecurity option- Read-only root filesystem where possible
- API key-based authentication with scopes
- User creates environment → isolated overlay network created
- User deploys containers → attached to private network
- User enables public access → Nginx attaches and configures SSL
All API requests require X-API-Key header with format: rw_prod_{keyId}.{secret}
POST /environments- Create isolated environmentPOST /deployments- Deploy container to environmentPOST /environments/:id/public- Enable public access with SSLGET /deployments/job/:jobId- Poll deployment status
create_environment- Create isolated environmentcreate_deployment- Deploy containerget_deployment_status- Check deployment progressmake_environment_public- Enable public access
MIT