nickjj / docker-rails-example

A production ready example Rails app that's using Docker and Docker Compose.
MIT License
941 stars 185 forks source link

Upgrade to Rails 7 and swap Webpacker with esbuild #29

Closed nickjj closed 2 years ago

nickjj commented 2 years ago

There's lots of changes here. It goes from Rails 6.x / Webpacker 6 beta to Rails 7.0 with esbuild. The changelog sums up most high level changes. There were a few Rails 7 related changes based on the new generated app but overall these were tiny changes.

If you crawl through this diff I'm sure you'll be able to painlessly update your app.

One pending issue is Sidekiq doesn't start in production mode due to a zeitwerk related issue. That one is above my paygrade at the moment. I opened issue https://github.com/nickjj/docker-rails-example/issues/30 here with more details.