You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@druid.apache.org by GitBox <gi...@apache.org> on 2020/06/30 07:03:25 UTC

[GitHub] [druid] jp707049 commented on issue #10078: How to use environment variables in runtime.properties?

jp707049 commented on issue #10078:
URL: https://github.com/apache/druid/issues/10078#issuecomment-651590132


   Hi,
   
   - I tried using `-Ddruid.host=$DRUID_HOST` in jvm.config but it did not work. Instead the service set the `host=$DRUID_HOST` instead of using value.
   - I did a workaround, before running a service, I created a script which will get the value of DRUID_HOST and adds it to `druid.host` property
   - Although it would be good if Druid support using env variables.
   
   Thank you,
   Jeet


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@druid.apache.org
For additional commands, e-mail: commits-help@druid.apache.org