mirror of
https://github.com/dockersamples/example-voting-app.git
synced 2026-07-11 01:19:17 +00:00
Add config from environment variables
This commit is contained in:
@@ -16,6 +16,7 @@ namespace Worker
|
||||
{
|
||||
var config = new ConfigurationBuilder()
|
||||
.AddJsonFile("appsettings.json")
|
||||
.AddEnvironmentVariables()
|
||||
.Build();
|
||||
|
||||
var loggerFactory = new LoggerFactory()
|
||||
|
||||
Reference in New Issue
Block a user