[erlang-questions] Docker enviroment variables in releases ?

Thomas Elsgaard thomas.elsgaard@REDACTED
Sat Mar 2 16:10:49 CET 2019


Thanks to Dmitry and Roger, very useful ... I will look into it..

Thomas

On Sat, 2 Mar 2019 at 16:02 Roger Lipscombe <roger@REDACTED> wrote:

> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20190302/1127f860/attachment.htm>


More information about the erlang-questions mailing list