finds.dev

nickjj/docker-rails-example

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

View on GitHub

★ 1,075RubyMITupdated Jun 2026

// the take

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.

We read the README, the directory tree and a key source file in June 2026. Nobody pays to be listed. How we judge →

// at a glance

Stars
1,075
Forks
226
Language
Ruby
License
MIT
Last commit
1 Jun 2026

// nearby

If docker-rails-example isn't quite it.

All repos →