-
Notifications
You must be signed in to change notification settings - Fork 0
Quick Start
Griffen Fargo edited this page Apr 11, 2026
·
2 revisions
Get from zero to a deployed stack in four commands. This guide walks through initializing a project, scaffolding a stack, configuring it, and deploying to a VPS.
strut init --registry ghcr --org my-orgThis creates a strut.conf at your project root with registry type, organization, and default branch settings.
strut scaffold my-appThis creates the stack directory structure from templates:
stacks/my-app/
├── docker-compose.yml
├── docker-compose.dev.yml
├── .env.template
├── services.conf
└── ...
# Copy the env template and fill in your secrets
cp stacks/my-app/.env.template .prod.env
nano .prod.env
# Configure services and health check paths
nano stacks/my-app/services.conf
# Edit your compose file
nano stacks/my-app/docker-compose.yml| Variable | Purpose |
|---|---|
VPS_HOST |
SSH target IP or hostname |
VPS_USER |
SSH user (usually ubuntu) |
VPS_DEPLOY_DIR |
Path to strut on VPS |
GH_PAT |
GitHub PAT for private container images |
COMPOSE_PROJECT_NAME |
Docker project name |
# Preview what will happen
strut my-app release --env prod --dry-run
# Full VPS release (update repo + deploy + verify health)
strut my-app release --env prod# Health checks
strut my-app health --env prod --json
# Container status
strut my-app status --env prod
# View logs
strut my-app logs my-service --follow --env prod- CLI Reference — Full command list
- Configuration — Deep dive into config files
- Deployment — Deploy workflows and service profiles
- Database Backups — Set up backup schedules
- Monitoring — Deploy Prometheus + Grafana
strut · v0.1.0 · Report an Issue
Getting Started
Core Concepts
Operations
- Deployment
- Remote Host Setup
- Blue-Green Deploy
- Deploy Rollback
- Database Backups
- Stack Groups
- Lifecycle Hooks
- Notifications
- Key Rotation
- Drift Detection
- Domain and SSL
- Monitoring
- Volume Management
Advanced
- Security Posture
- VPS Audit and Migration
- Stack Validation
- Data Anonymization
- Debugging
- Local Development
Extending
Contributing