---
title: "Deploy Rails 8 + Hotwire"
description: "A simple template for full stack Ruby on Rails 8 apps using turbo/hotwire"
category: "Starters"
url: https://railway.com/deploy/rails-8-hotwire
---

# Deploy Rails 8 + Hotwire

A simple template for full stack Ruby on Rails 8 apps using turbo/hotwire

**[Deploy Rails 8 + Hotwire on Railway](https://railway.com/template/rails-8-hotwire)**

- **Creator:** Josh Mills's Projects
- **Category:** Starters

## Template content

### Postgres https://devicons.railway.app/i/postgresql.svg

- **Image:** ghcr.io/railwayapp-templates/postgres-ssl:17

### Redis https://cdn.sanity.io/images/sy1jschh/production/0ce0bfdcfbdbf69662b1116671f97c2dd788b655-157x157.svg

- **Image:** redis:8.2.1
- **Start command:** `/bin/sh -c "rm -rf $RAILWAY_VOLUME_MOUNT_PATH/lost+found/ && exec docker-entrypoint.sh redis-server --requirepass $REDIS_PASSWORD --save 60 1 --dir $RAILWAY_VOLUME_MOUNT_PATH"`

### Rails 8 App https://raw.githubusercontent.com/rails/rails/main/guides/assets/images/favicon.ico

- **Source:** https://github.com/jtmst/rails-hotwire-starter
- **Start command:** `bin/rails server -b 0.0.0.0 -p $PORT`
- **Health check:** /up
- **Public domain:** Yes

## Documentation

# 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

- [Hotwire documentation](https://hotwired.dev)
- [Action Cable guide](https://guides.rubyonrails.org/action_cable_overview.html)
- [Source repo](https://github.com/jtmst/rails-hotwire-starter)

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


## Similar templates

- [open-excalidraw](https://railway.com/deploy/open-excalidraw) — Self-hostable collaborative drawing built on Excalidraw
- [caring-vibrancy](https://railway.com/deploy/caring-vibrancy) — Deploy and Host caring-vibrancy with Railway
- [Appsmith](https://railway.com/deploy/appsmith-1) — Low-code platform for internal tools, dashboards, and admin panels.

Open this page in a browser: https://railway.com/deploy/rails-8-hotwire
