Rails hosting
Push a Rails app and Ownkube builds it and serves it through Puma on a public HTTPS hostname. Link a managed Postgres database, run db:migrate as a job, and deploy a second copy as a worker for Sidekiq or Solid Queue. The Heroku workflow, on a prepaid wallet.
Rails hosting at a glance
- Automatic Ruby builds, or the Dockerfile that Rails generates.
- Puma on port 3000, bound to 0.0.0.0.
- Run rails db:migrate as a job once per release.
- Workers for Sidekiq or Solid Queue, with a managed Valkey cache for Redis-compatible queues.
How to host a Rails app on Ownkube
- 1
Connect the repo
Sign in, connect GitHub or GitLab, and pick the Rails repo. Ownkube builds it automatically or uses the Rails Dockerfile.
- 2
Set the port and secrets
Set port 3000 and add RAILS_MASTER_KEY and other secrets as secret variables.
- 3
Link Postgres and migrate
Link a database for DATABASE_URL and run rails db:migrate as a job before the release takes traffic.
The step by step version, with code: How to deploy a Rails app on Ownkube.
What Rails hosting costs
Metered usage bills about $18 per vCPU and $4.50 per GiB a month, per minute. Databases run on flat boxes plus $0.25 per GB of storage. Everything draws one prepaid wallet, and unused credit never expires.
| Workload | Setup | Per month |
|---|---|---|
| Small Rails app | 0.1 vCPU average, 0.75 GiB held | about $5.20 |
| Rails with Postgres | Same app + DB 0.5 box ($4) + 5 GB storage ($1.25) | about $10.40 |
| Rails with a Sidekiq worker | App and worker at 0.25 vCPU / 0.75 GiB each, DB 1 box ($8) + 5 GB, Cache 0.25 ($2) | about $27 |
Estimates for one month of continuous running. See pricing for every box and rate.
How Ownkube compares for Rails hosting
The smallest app plus a small managed Postgres on each platform, from each provider's public pricing page.
| Platform | App | Managed Postgres | Billing |
|---|---|---|---|
| Ownkube | Metered at about $18 per vCPU and $4.50 per GiB a month, or a $5 Spark 1 box | From $4 a month plus $0.25 per GB | Prepaid wallet, unused credit never expires |
| Railway | Metered at about $20 per vCPU and $10 per GB a month | Runs as a metered service plus $0.15 per GB volume | Postpaid, $5 Hobby plan includes $5 of usage |
| Render | From $7 a month (0.5 CPU, 512 MB) | From $6 a month plus $0.30 per GB | Postpaid, workspace plan from $0 |
| Fly.io | From $2.19 a month (shared-cpu-1x, 256 MB) | Managed from $38 a month plus $0.28 per GB | Postpaid, pay as you go |
| Heroku | Eco $5 or Basic $7 a month | Essential-0 from $5 a month | Postpaid, per dyno |
List prices checked 2026-10-13. For a full-stack estimate, try the cost calculator.
Rails hosting questions
Something else? Email support@ownkube.io.
What is a good Heroku alternative for Rails?
Ownkube keeps the Heroku workflow of pushing a repo, linking Postgres, and running a worker, and bills per minute from a prepaid wallet instead of per dyno. A small Rails app with Postgres runs for about $10.40 a month.
How do I run Rails migrations on Ownkube?
Run rails db:migrate as a job. A job runs to completion once per release, which is safer than migrating on every container start.
Can I run Sidekiq on Ownkube?
Yes. Deploy the same repo as a worker with the Sidekiq command, and link a managed Valkey cache, which speaks the Redis protocol.
Does Ownkube support custom domains for Rails apps?
Every app gets a public *.ownkube.app hostname with automatic HTTPS, so there is nothing to configure for TLS. Custom domains on Ownkube Compute are on the roadmap.
More hosting guides
Host your Rails app
Push the repo and get a live HTTPS URL. No cloud account to set up.