gfargo/strut Deploy

Deploy Docker stacks to a VPS using strut — SSH key + env handled securely, one step replaces the full release pipeline

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
stackStack name — must match a subdirectory under stacks/ in your projectyes
commandstrut command to run: release (recommended for CI), ship, health, or deploy (self-hosted only)norelease
envEnvironment name — resolves to .<env>.env in the project root (e.g. prod → .prod.env)noprod
servicesServices profile passed as --services <profile> (optional)no""
strictPass --strict to release — treat migration failures as fatalnofalse
dry-runPass --dry-run — print the execution plan without making changesnofalse
versionstrut tag to install (e.g. v0.30.4). Pin to a release tag for reproducible deploys.nomain
hostVPS hostname or IP address (sets VPS_HOST) — pass as a repository secretyes
ssh-keyPrivate SSH key contents for VPS access (sets VPS_SSH_KEY) — pass as a repository secretyes
ssh-portSSH port on the VPS (sets VPS_PORT)no22
userSSH user on the VPS (sets VPS_USER)noubuntu
deploy-dirDeployment directory on the VPS (sets VPS_DEPLOY_DIR). Defaults to /home/<user>/strutno""
env-varsExtra environment variables as newline-separated KEY=VALUE pairs (e.g. GH_PAT, REGISTRY_TOKEN)no""

no outputs