Config
Each application has its own environment.
config/config.exs
is base of every project
config/dev.exs
config/dev.secrets.exs
Usage
Based on env
Runtime.ex vs Prod.ex
Simply:
releases.exs
- runtime configuration forrelease
only#{Mix.env()}.exs
- i.e.dev.exs
,prod.exs
,test.exs
- those are compiletime environment-specific configuration filesconfig.exs
- compiletime generic configuration filereleases.exs
- runtime generic configuration file
Last updated