Based on doc https://hexdocs.pm/phoenix/releases.html#releases-assemble
User need to these to create release config.
My question is why not just generate these by default. So there is no need to do these steps manually.
- Rename
config/prod.secret.exs
toconfig/releases.exs
- Change
use Mix.Config
inside the newconfig/releases.exs
file toimport Config
(if you want, you can replace all uses ofuse Mix.Config
byimport Config
, as the latter replaces the former) - Change
config/prod.exs
to no longer callimport_config "prod.secret.exs"
at the bottom