diff --git a/Tools/Resgrid.Console/Program.cs b/Tools/Resgrid.Console/Program.cs index 255724cc..d1581db8 100644 --- a/Tools/Resgrid.Console/Program.cs +++ b/Tools/Resgrid.Console/Program.cs @@ -110,6 +110,8 @@ private static void SetConnectionString() System.Configuration.ConfigurationManager.RefreshSection("connectionStrings"); collection.SetValue(settings, true); element.SetValue(settings, true); + + ConfigProcessor.LoadAndProcessEnvVariables(Configuration.AsEnumerable()); } } } diff --git a/Workers/Resgrid.Workers.Console/Program.cs b/Workers/Resgrid.Workers.Console/Program.cs index 2daad860..06a4c067 100644 --- a/Workers/Resgrid.Workers.Console/Program.cs +++ b/Workers/Resgrid.Workers.Console/Program.cs @@ -184,6 +184,8 @@ private static void SetConnectionString() System.Configuration.ConfigurationManager.RefreshSection("connectionStrings"); collection.SetValue(settings, true); element.SetValue(settings, true); + + ConfigProcessor.LoadAndProcessEnvVariables(Configuration.AsEnumerable()); } }