I am sure this has been asked before, but I don’t know how to search for it.
Elixir is configured by using config/config.exs which people tend to commit in VCS. But what if I need to have things that are different per developer in there (also, maybe things that are the same)? For example some REST API key etc.
In erlang we used to create different releases per developer by using a template for app.config but I’m not sure I really want to go this route again.
Put that stuff in dev.secret.exs or prod.secret.exs (or just config.secret.exs if you are not using different environments) and keep it ignored in your VCS. Then in your config file, at the end use for example: