by clemens (30.08.2022)

Phoenix now requires explicit start of server in prod

tl;dr

In Phoenix 1.6.x you now need to start the server explicitly by setting the PHX_SERVER=true environment variable.

Alternative, in runtime.exs you can remove the first part with the PHX_SERVER=true and add server: true to your endpoint configuration directly, that restores the old behaviour.