Deploy Rails 8 + Hotwire
A simple template for full stack Ruby on Rails 8 apps using turbo/hotwire
Just deployed
/var/lib/postgresql/data
Redis
Just deployed
/data
Rails 8 App
Just deployed
Deploy and Host Rails 8 + Hotwire on Railway
Rails 8 with hotwire allows real-time, reactive web apps without writing JavaScript. Create SPA-like interfaces and experiences all with Ruby.
About Hosting Rails 8 + Hotwire
Deploying Rails with hotwire requires a few moving parts. PostgreSQL, Redis, Action Cable work together to allow Turbo streams to push HTML updates in real time. This template pre-configures these services so that broadcasts work immediately on deploy.
Common Use Cases
- Realtime dashboards with live notifications and updates
- Chat applications
- Shared documents and multiplayer applications
Dependencies for Rails 8 + Hotwire Hosting
- PostgreSQL
- Redis
Deployment Dependencies
Why Deploy Rails 8 + Hotwire on Railway?
Railway is a singular platform to deploy your infrastructure stack. Railway will host your infrastructure so you don't have to deal with configuration, while allowing you to vertically and horizontally scale it.
By deploying Rails 8 + Hotwire on Railway, you are one step closer to supporting a complete full-stack application with minimal burden. Host your servers, databases, AI agents, and more on Railway.
Template Content
PGDATA
PSQL Data directory
PGPORT
PSQL Port
POSTGRES_DB
PSQL database name
POSTGRES_USER
PSQL User
SSL_CERT_DAYS
SSL certificate validity days
RAILWAY_DEPLOYMENT_DRAINING_SECONDS
Deployment drain timeout
Redis
redis:8.2.1REDISPORT
Redis port
REDISUSER
Redis user
Rails 8 App
jtmst/rails-hotwire-starterPORT
Server port
RAILS_ENV
Rails environment
SECRET_KEY_BASE
Rails encryption key