[erlang-questions] Docker enviroment variables in releases ?

Roger Lipscombe roger@REDACTED
Sat Mar 2 16:02:37 CET 2019


If you're using relx (and if you're using rebar3 or erlang.mk, you
probably are), it already supports simple environment substitution.
Use ${VAR} in "sys.config.src".

On Sat, 2 Mar 2019 at 08:49, Thomas Elsgaard <thomas.elsgaard@REDACTED> wrote:
>
> Hi list!
>
> Any good solutions for using Docker enviroment variables in an Erlang release running i Docker ?
>
> Like it would be really cool to override default sys.config settings when starting the container with -e SOME_SYS_CONFIG_SETTING=1234
>
> Thomas
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions



More information about the erlang-questions mailing list