mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-03 11:11:10 +00:00
Adds a local observability stack and container wiring
This commit is contained in:
1 parent
6af3d4f5e5
commit
0f903e6ff2
10 files changed
+315
-3
No files matched your search
+2
-1
@@ -25,7 +25,8 @@ internal static class PresentationWebLayerConfiguration
|
||||
// add the configuration sources to the configuration builder
|
||||
configuration.AddJsonFile("appsettings.json", optional: false, reloadOnChange: true);
|
||||
configuration.AddJsonFile("appsettings.development.json", optional: true, reloadOnChange: true);
|
||||
|
||||
configuration.AddEnvironmentVariables(); // environment variables should override the configuration files
|
||||
|
||||
serviceCollection.AddOptions<ServerConfigurationDto>()
|
||||
.Bind(configuration.GetRequiredSection(ServerConfigurationDto.SECTION_NAME))
|
||||
.ValidateFluently()
|
||||
|
||||
Reference in new issue
Block a user