- Home
- Frameworks
- Bridgetown
Bridgetown hosting with full server access
Deploy Bridgetown sites to servers you own
Bridgetown builds fast Ruby-powered sites. Hatchbox builds them on your server, serves them with Caddy, and renews your SSL certificates without you thinking about it.
Includes a 7 day free trial. $10 per server per month after that — unlimited apps.
Bridgetown sits in a nice middle ground — a static site generator that can also run a Roda backend when you need one. Hatchbox handles both. Static output gets served straight off disk by Caddy at full speed, and if you're using Bridgetown's server-side rendering or API routes, it runs as a managed process behind the same reverse proxy.
It's all automatic. Hatchbox sees bridgetown in your
Gemfile.lock, runs bin/bridgetown deploy, moves the generated
output directory into place for Caddy, and sets
BRIDGETOWN_ENV=production for you. There's no build script to write and no
Caddy config to change.
Why deploy Bridgetown with Hatchbox
Static output, served fast
Caddy serves your generated files directly from disk with gzip and zstd compression. No Ruby process sits in the request path for a static build.
Roda backend when you need it
Running Bridgetown with Puma enabled? Hatchbox notices and adds the Puma process for you, so the app can handle requests behind the same reverse proxy.
Free automatic SSL
Caddy issues and renews Let's Encrypt certificates for your apex domain, subdomains, and any custom domains you point at the server.
Deploy on push
Merge to main, and Hatchbox rebuilds the site and swaps in the new release. Rollback is a click if a build ships something wrong.
What customers say
I run 15+ Rails apps and static sites with Hatchbox. My bill went from $400/month on Heroku to $28/mo with Hatchbox & DigitalOcean combined.
Donn Felker
Software Professional
If you want the most bang for your buck, Hatchbox / Hetzner / DigitalOcean is the killer combo. You can throw sooo much at this and it's crazy how inexpensive it is.
Josh Pigford
Serial Entrepreneur
- Applications deployed
- 24,000+
- Deployments run
- 2 million+
- Deploying since
- 2016
How to deploy a Bridgetown site
Four steps from an empty server to a live site over HTTPS.
-
Connect a server
Any Ubuntu LTS server works — a $6/month DigitalOcean droplet is plenty for most Bridgetown sites.
-
Connect your repository
Choose the repo and branch. Enable auto-deploy so publishing is just a merge.
-
Nothing to configure
Hatchbox detects Bridgetown from your
Gemfile.lockand sets up the build and output directory on its own. -
Deploy
Hatchbox bundles, builds, and promotes the release. Your site is live over HTTPS.
What Hatchbox does for you
Detection is the presence of bridgetown in your Gemfile.lock.
Everything below happens without configuration.
Build steps it runs
bin/bridgetown deploy
mv output public
deploy builds your frontend bundle and the site together, then the output
is moved into the directory Caddy serves from.
Processes it adds
If Puma is enabled in your Bridgetown configuration, Hatchbox adds a Puma process automatically so the app can handle requests. A purely static build doesn't need one.
Environment variables
Set on your first deploy — you don't need to add it yourself.
BRIDGETOWN_ENV=production
Bridgetown deployment questions
Still stuck? Ask us directly — a real person who has deployed a lot of Bridgetown apps will answer.
output, and Hatchbox moves that directory to public after the build so Caddy serves it. You don't need to pass a destination flag or touch the Caddyfile.
bin/bridgetown deploy, which builds your frontend assets and the site together, and sets BRIDGETOWN_ENV=production on the first deploy.
Simple, predictable pricing.
We charge per server, not per app. Run one application or twenty on the same box — the bill doesn't change.
$10
- Unlimited applications
- Deploy anywhere
- Zero downtime deployments
- Custom domains & free SSL
- Databases, cron jobs & background workers
- Full SSH access to your servers
- Real, human support
- 7 day free trial
Deploy more than Bridgetown
One server, one bill, as many apps as it can hold. Run any of these alongside your Bridgetown app for no extra cost.
- Ruby Deploy Ruby on Rails Rails deployment without the platform tax
- Ruby Deploy Hanami Hanami hosting on infrastructure you control
- Go Deploy Hugo Hugo hosting without the per-site pricing
- Ruby Deploy Jekyll Jekyll hosting with real server access
- Ruby Deploy Middleman Middleman hosting on your own infrastructure
- JavaScript Deploy Astro Astro hosting with no vendor lock-in
Ready to deploy your Bridgetown app?
Hatchbox has run more than 2 million deploys across 24,000+ applications since 2016. Start a 7 day free trial and put yours on a server you own.