Have you every tried jsReport on NodeJs 10+ with environment variables with dash on name like extension_mongo-store_uri, IT DOES NOT WORK FOR ME
-
According to article https://jsreport.net/learn/configuration
"If you want to use environment variable for configuring a complex object you should separate the nested path in the key using _", but if you are using nodejs 10+, and the name of configuration is extension_mongo-store_uri, if there is a dash on the name, just like the mongo-store, it will not work. It works on plain nodejs on my dev machine though, so i dont know if its a node, docker or jsReport problem. Can we get the setting name NOT to have dash on it?
-
You can use camel case notation to avoid dash.
extension_mongoStore_uri,
-
Thanks for the info. i will try that one