Skip to content
Griffen Fargo edited this page Jun 30, 2026 · 10 revisions

strut

Generic, installable CLI tool for managing Docker stacks on VPS infrastructure. Deploy, monitor, and operate any number of stacks from a single command line.

Version: 0.28.0 · License: See LICENSE · Language: Bash


Wiki Contents

Getting Started

Core Concepts

  • Architecture — How strut works: Strut_Home vs Project_Root, config loading, module system
  • Configurationstrut.conf, services.conf, env files, per-stack config
  • Multi-Host Topology — Managing multiple VPS hosts from one project (since v0.22.0)
  • CLI Reference — Full command reference with examples
  • Agent Steering — AI agent context: steering docs, operational skills, editor integration

Operations

  • Deployment — Deploy, release, stop, update, diff, concurrency locks
  • Ship and Rebuild — Commit/push/rebuild in one command; image builds on remote (since v0.22.0)
  • Blue-Green Deploy — Zero-downtime deploys with health-gated proxy swap (since v0.20.0)
  • Deploy Rollback — Automatic pre-deploy snapshots, one-command rollback, snapshot diff
  • Remote Host Setup — Bootstrap strut on a VPS from scratch (since v0.21.0)
  • Provisioning — One-time host provisioning via custom scripts (since v0.23.0)
  • Database Backups — Backup, restore, pull, push for Postgres, Neo4j, MySQL, SQLite; offsite sync
  • Secrets Management — Full secrets lifecycle: hydrate, validate, push, lock/unlock, rotate, export (since v0.27.0)
  • Stack Groups — Coordinate deploy/backup/logs across multiple stacks
  • Lifecycle Hooks — pre/post scripts for deploy, backup, health, drift events
  • Notifications — Slack, Discord, and webhook event delivery
  • Key Rotation — SSH keys, API keys, database passwords, GitHub secrets
  • Drift Detection — Detect and fix configuration drift between git and VPS
  • Domain and SSL — Custom domains, SSL certificates, nginx and Caddy support
  • Certificate Management — Tailscale HTTPS cert renewal and status (since v0.24.0)
  • Gateway Management — System-level Caddy reverse proxy management (since v0.24.0)
  • Monitoring — Prometheus, Grafana, Alertmanager setup and alert routing
  • Volume Management — Dynamic volume management from volume.conf

Advanced

Extending

  • Plugins — Project-level command plugins (since v0.17.0)
  • Scaffold Recipes — Custom scaffold templates (since v0.18.0)

Contributing

Clone this wiki locally