[erlang-questions] Dealing with different environment configurations?

Dmitry Kolesnikov <>
Fri Mar 21 21:18:00 CET 2014


Hello,

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.

Best Regards,
Dmitry
>-|-|-(*>

> 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?
> 
> Thanks,
> Roger.
> _______________________________________________
> erlang-questions mailing list
> 
> http://erlang.org/mailman/listinfo/erlang-questions



More information about the erlang-questions mailing list