[erlang-questions] Dealing with different environment configurations?
Fri Mar 21 21:18:00 CET 2014
I am using vars overlays to customize sys.config for each environment.
This requires to create a new package for each env but I see no issues with it.
It is easy to manage a solid package.
> On 21 Mar 2014, at 17:23, Roger Lipscombe <> wrote:
> We're currently packaging our Erlang node with relx. This generates a
> startup script that assumes releases/1/sys.config exists.
> Now, we have to deal with a couple of different environments: dev,
> test, staging, production. "production" is further divided into (e.g.)
> "production-us-east", "production-us-west", "production-eu", etc.
> How do people deal with the need to have different configuration files
> in different environments? Do you build a different release for each
> environment? Or do you replace the sys.config in each environment? If
> so, how?
> erlang-questions mailing list
More information about the erlang-questions