What are the changes with the new Phoenix `fly launch` template?

Hi there!
We moved our Phoenix 1.6 application to Fly two months ago.
Today we saw that the docs have been updated with an improved fly launch procedure which writes the dockerfile for you (rather than you having to copy it and possibly change it manually), and maybe it does some other things as well.

Is there an easy way to upgrade the current app to this new procedure?
And what are the changes from the old procedure w.r.t. VM images, software/dependency versions, and possibly differences in default configuration settings?

You probably don’t need to!

The new launch procedure runs mix phx.gen.release --docker to generate a Dockerfile for you, which requires Phoenix 1.6.5. The deploy process is exactly the same, though. If you already have a functional Dockerfile there’s no reason to change it.

1 Like