# nickjj/docker-rails-example

A production ready example Rails app that's using Docker and Docker Compose.

Repository: https://github.com/nickjj/docker-rails-example
Canonical: https://ross.abutalabs.com/products/docker-rails-example
Language: Ruby
License: MIT
License Family: permissive
Topics: rails, postgres, redis, stimulus, docker, docker-compose, esbuild, hotwire, tailwindcss
Last push: 2026-08-06T12:41:01+00:00

## Health v2 (maintenance only)
Score: 75/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 96, release rhythm 35, longevity 100
- inputs: {"age_days": 2080, "days_push": 27, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1078, forks 226 (observed 2026-08-28T04:03:29.823124+00:00)

## What it is
A production-ready example Ruby on Rails application fully wired up with Docker and Docker Compose, using PostgreSQL, Redis, Sidekiq, Hotwire, and TailwindCSS. It serves as a starting template for new Rails projects or a reference guide for Dockerizing an existing Rails app following Docker best practices.

## Use cases
- start a new rails project with docker
- dockerize an existing rails app
- learn docker best practices for web apps
- rails template with postgres redis and sidekiq
- production ready rails docker compose setup
- example rails app with hotwire and tailwind

## When to choose
- you want a battle-tested Rails + Docker Compose starting point
- you prefer PostgreSQL, Redis, and Sidekiq over Rails' default solid_* adapters
- you want to learn how to structure a Dockerized Rails app for production

## When to avoid
- you want to use Rails 8 defaults like Kamal, Thruster, and solid_* adapters
- you need a library or gem rather than a full example application
- your stack differs significantly from Rails/Postgres/Redis

## Facets
- artifact type: application
- maturity: active
- function: web-framework, container-runtime, caching, database, developer-tools, deployment
- domain: web-development, developer-tools, self-hosted, backend
- platform: ruby, windows
- tags: rails, docker-compose, hotwire, tailwindcss, sidekiq, postgres, redis, boilerplate, example-app, docker, linux, macos

## Member repositories
- nickjj/docker-rails-example (main) score 75

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:29.823124+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:53:11.078538+00:00, confidence not recorded.
  - readme: https://github.com/nickjj/docker-rails-example (fetched 2026-08-28T04:03:29.823124+00:00, sha 580b0273b57d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
