Rails demo reference

The Rails source is on GitHub. fly launch will provide a Dockerfile and a fly.toml config file. fly launch will also work with Rails-provided Dockerfiles. When you make changes to your application, you can run bin/rails generate dockerfile to generate updated Dockerfiles.

How the pieces are put together:

Key points of logic: