strut
Installation
SKILL.md
strut — VPS Stack Management
strut is a Bash CLI for managing Docker Compose stacks on VPS infrastructure. Commands follow the shape:
strut <stack> <command> [--env <name>] [options]
--env <name> selects the environment file .<name>.env (e.g. --env prod reads .prod.env). Most commands run against a VPS over SSH; some run locally.
Command Quick Reference
# Deploy & release
strut <stack> release --env prod # update repo → migrate → deploy → verify (on VPS)
strut <stack> deploy --env prod # deploy containers (local, or VPS if VPS_HOST set)
strut <stack> rebuild --env prod # build images on target + deploy
strut <stack> stop --env prod # stop containers
strut <stack> rollback --env prod # restore previous deploy snapshot