Based on Awesome Compose.
Ruby version: 3.2.1.
Ruby on Rails version: 7.0.4.2.
docker compose build
docker compose updocker compose downIf you make changes to the Gemfile or the Compose file to try out some different configurations, you need to rebuild. Some changes require only docker compose up --build, but a full rebuild requires a re-run of docker compose run web bundle install to sync changes in the Gemfile.lock to the host, followed by docker compose up --build.