From 93ba2be2c1d50ff81ebe81931f03f777b370239a Mon Sep 17 00:00:00 2001 From: Elton Stoneman Date: Wed, 26 Sep 2018 12:12:48 +0100 Subject: [PATCH] Add config from environment variables --- worker/dotnet/Worker/Program.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/worker/dotnet/Worker/Program.cs b/worker/dotnet/Worker/Program.cs index 3acbc69..2f0e599 100644 --- a/worker/dotnet/Worker/Program.cs +++ b/worker/dotnet/Worker/Program.cs @@ -16,6 +16,7 @@ namespace Worker { var config = new ConfigurationBuilder() .AddJsonFile("appsettings.json") + .AddEnvironmentVariables() .Build(); var loggerFactory = new LoggerFactory()