You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi. It's been a while since I had my hands on this. In my notes I could only find one issue with the Lightbend Config library which was that it "caches" the environment in a static field, so I had to use this option to re-initialize it at runtime:
But this is only for the parts of the configuration that references environment variables or Java system properties.
I only used the application.conf files embedded as a classpath resource. I don't see why -Dconfig.file shouldn't work.
Hi @vmencik !
I have a question, how do we pass an external configuration file to the binary? I passed -Dconfig.file flag to the binary does not seem to work
./app -Dconfig.file=/opt/conf/application.conf
even when building I pass the config file.. for reference this is my build config
thanks!
The text was updated successfully, but these errors were encountered: