Deploy rails8_starter

Starter template for Rails 8 with Solid Stack, PostgreSQL, and Docker.

Deploy rails8_starter

CABLE

railwayapp-templates/postgres-ssl:16

Just deployed

/var/lib/postgresql/data

PRIMARY

railwayapp-templates/postgres-ssl:16

Just deployed

/var/lib/postgresql/data

railway-rails-8-template

ADHD-Coder/railway-rails-8-template

Just deployed

/rails/storage

CACHE

railwayapp-templates/postgres-ssl:16

Just deployed

/var/lib/postgresql/data

QUEUE

railwayapp-templates/postgres-ssl:16

Just deployed

/var/lib/postgresql/data

Deploy and Host Rails 8 w/ Solid Stack & Docker on Railway

rails8_starter is a production-ready Ruby on Rails 8 template built for instant deployment on Railway. It comes pre-configured with Solid Stack (Rails 8 defaults), PostgreSQL, and Docker, all wired to run on Railway’s infrastructure with minimal setup.

About Hosting

This template is designed to streamline the process of deploying a modern Rails 8 app to Railway. It uses a Dockerfile (without Thruster) and connects to four separate PostgreSQL databases, one for each part of the Solid Stack (cache, queue, cable, and primary).

Optional: Devise handles authentication, letter_opener is used in development, and Postmark is configured for outbound email in production.

A persistent volume is mounted to /rails/storage for Active Storage or can be replaced with S3.

This template also includes Mission Control Jobs at /jobs, giving you real-time visibility into your background jobs powered by Solid Queue.

Common Use Cases

  • Rapid prototyping and deployment of full-stack Rails 8 apps
  • Build and run a side hustle idea on a Railway project (cost-effective and minimal setup)
  • Learn how to build modern Rails apps using current best practices

Dependencies for Hosting

Deployment Dependencies

  • Postmark account (for production email)
  • Your local RAILS_MASTER_KEY

Implementation Details

Please see Rails 8 Template Github Repo README for specific implementation details.

Why Deploy rails8_starter 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 rails8_starter 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

More templates in this category

View Template
caring-vibrancy
Deploy and Host caring-vibrancy with Railway

View Template
mellow-vue
A full-stack Vue app with The Boring JavaScript Stack.

View Template
Openfront
Deploy and Host Openfront with Railway