Skip to content

deployforge

Ship Go apps to your own servers: release archives, not containers.

deployforge deploys Go web apps to hosts you already have. Each app is a single binary with a YAML config, run by systemd behind Caddy, with its secrets in a parameter store. A deploy builds a release from a clean, tagged commit, ships it with the app's config and secrets, runs the app's validate and migrate, switches to it, checks readiness, and restores the previous release on any failure, recording every release in a ledger.

Your repository keeps the configuration; deployforge is the binary.

What it does

Area What you get Guide
The fleet document Hosts, apps and their named stacks as JSON, validated before anything runs The Fleet Document
Deploys Releases from a clean, tagged commit; an atomic switch, readiness on every host name, automatic restore, a deploy lock, an audit log and a ledger; hooks Deploying
Hosts systemd units with a sandbox and limits, an idempotent host-setup script, a Caddyfile per host Hosts
The edge Cloudflare zones checked against their name servers, a security baseline, origin certificates made on the host, a TLS minimum check The Edge
Databases Owner and app roles with connection limits and SCRAM verifiers, snapshots, copies between servers Databases
Credentials The credential registry the fleet names: checked, generated, installed and set up step by step; a check before every deploy; IAM per stack Credentials
Taking over Moving a stack another tool deployed, without a redeploy Taking Over a Stack
Embedding Every capability as a Go package, and the command tree mountable in your own tool Embedding deployforge

Install

go install github.com/plexusone/deployforge/cmd/deployforge@latest

Then follow Getting Started.

Documentation