finds.dev← search

// the find

nickjj/docker-rails-example

★ 1,075 · Ruby · MIT · updated Jun 2026

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

A production-ready Rails 8 starter that wires up Docker, Postgres, Redis, Sidekiq, Hotwire, esbuild, and Tailwind into a working base you can rename and run. It's maintained by Nick Janetakis, who has been publishing Docker best-practices content for a decade. If you're starting a new Rails app and want the Docker plumbing already figured out, this saves a few days of fumbling.

The `./run` shell script is a better developer interface than a Makefile — it passes arguments cleanly, documents itself, and covers the full workflow from `bundle` to `ci:test`. The `bin/rename-project` script handles the find-and-replace grunt work that every template forces you to do manually. YJIT is enabled out of the box and environment variables are loaded from `.env` rather than Rails credentials, which is the right call for Docker. The repo tracks Rails releases actively — it's on 8.1.3 and is kept current.

Solid adapters (solid_queue, solid_cache, solid_cable) were removed in favor of Redis + Sidekiq, which is a defensible choice but goes against Rails 8's default direction — you'll be explaining that decision to every new team member. Brakeman was also removed, which is a security static analysis tool that costs nothing to run in CI. No authentication scaffold (Devise or Rails 8's new `rails generate authentication`) means the first real feature every team adds is outside the scope of this template. The test suite is skeletal — the included tests verify the home page loads and health checks return 200, which gives you false confidence that the test harness is validated.

View on GitHub →

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →