Add config from environment variables

This commit is contained in:
Elton Stoneman 2018-09-26 12:12:48 +01:00
parent 6356ddc7c6
commit 93ba2be2c1

View File

@ -16,6 +16,7 @@ namespace Worker
{
var config = new ConfigurationBuilder()
.AddJsonFile("appsettings.json")
.AddEnvironmentVariables()
.Build();
var loggerFactory = new LoggerFactory()