Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Typesafe Config : Reference current directory?

It is possible to include system properties into configuration file, as explained in docs

Looks like ${?VARNAME} recognizes only system properties (passed with -D option).

I need to be able to recognize environment values, in particular - $PWD

How can I do that in the configuration file?

like image 288
jdevelop Avatar asked Mar 09 '26 16:03

jdevelop


1 Answers

This should just work already. Typesafe config searches both system properties and environment variables by default.

like image 53
Havoc P Avatar answered Mar 12 '26 16:03

Havoc P



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!