New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rebase and changes to PR 1647 #1813

merged 2 commits into from Jan 4, 2019


2 participants
Copy link

shaan1337 commented Jan 4, 2019

Thanks to @hanxinimm for this nice feature!

This is a rebase of #1647 with some changes:

  • The format is now: ${env:<Referenced_Env_Var>} instead of [<Referenced_Env_Var>]
  • Tests added

The PR basically allows you to reference another environment variable. It may be useful to reference existing IP address environment variables set in containers (like Service Fabric's Fabric_NodeIPOrFQDN)

Test example:

export HELLO=All


set HELLO=All

Then run an EventStore node and it should apply the RunProjections=All configuration.

hanxinimm and others added some commits Jun 2, 2018

* Add Fabric Service EnvironmentVariable Config On Deploy an existing…
… executable to Service Fabric

<EnvironmentVariable Name="EVENTSTORE_EXT_IP" Value="[Fabric_NodeIPOrFQDN]"/>
[VariableName] Reference System EnvironmentVariable Or Service Fabric environment variables
Update the regular expression to match ${env:<ENV VARIABLE>}
Add tests
Parse referenced environment variables in EventStore.Rags.EnvironmentVariables.Parse itself

Co-Authored-By: 韩鑫 <>

@shaan1337 shaan1337 merged commit da800ad into master Jan 4, 2019

@shaan1337 shaan1337 deleted the rags-environment-ref branch Jan 4, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment