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

Read more customer stories

How to deploy a Bridgetown site

Four steps from an empty server to a live site over HTTPS.

  1. Connect a server

    Any Ubuntu LTS server works — a $6/month DigitalOcean droplet is plenty for most Bridgetown sites.

  2. Connect your repository

    Choose the repo and branch. Enable auto-deploy so publishing is just a merge.

  3. Nothing to configure

    Hatchbox detects Bridgetown from your Gemfile.lock and sets up the build and output directory on its own.

  4. 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.

Simple, predictable pricing.

We charge per server, not per app. Run one application or twenty on the same box — the bill doesn't change.

Start free trial

$10

/server/mo
  • 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

One server, one bill, as many apps as it can hold. Run any of these alongside your Bridgetown app for no extra cost.

See every framework we deploy

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.