knobs icon indicating copy to clipboard operation
knobs copied to clipboard

Defaults for environment variables

Open teddywilson opened this issue 7 years ago • 2 comments

Are there any plans to add defaults for environment variables?

teddywilson avatar Apr 18 '18 16:04 teddywilson

I don't think anyone is working on that. A PR would be welcome.

rossabaker avatar May 04 '18 03:05 rossabaker

If anyone picks this up .. please use the shell way for providing defaults

$(SOME_ENV:-"default value")

Don't use the way lightbend-config does it:

basedir = "/whatever/whatever"
basedir = ${?FORCED_BASEDIR}

ppurang-spotcap avatar Jul 02 '18 10:07 ppurang-spotcap