mirror of
https://github.com/BinaryAlley/Nemera.git
synced 2026-12-02 20:11:10 +00:00
* Adds Infrastructure security cryptography service * Updates GitHub Action script to account for empty Environment values * Updates section of GitHub Action script * Fixes order of configuration settings import * Hardcodes secrets used during integration tests
56 lines
1.8 KiB
JSON
56 lines
1.8 KiB
JSON
{
|
|
"JwtSettings": {
|
|
"SecretKey": "",
|
|
"ExpiryMinutes": 60,
|
|
"Issuer": "Lumina",
|
|
"Audience": "Lumina"
|
|
},
|
|
"EncryptionSettings": {
|
|
"SecretKey": "" // base64 string
|
|
},
|
|
"Serilog": {
|
|
"Using": [ "Serilog.Sinks.Console", "Serilog.Sinks.File" ],
|
|
"MinimumLevel": {
|
|
"Default": "Information",
|
|
"Override": {
|
|
"Microsoft": "Warning",
|
|
"System": "Warning",
|
|
"Microsoft.AspNetCore": "Warning",
|
|
"Microsoft.Hosting.Lifetime": "Information"
|
|
}
|
|
},
|
|
"WriteTo": [
|
|
{
|
|
"Name": "Console",
|
|
"Args": {
|
|
"theme": "Serilog.Sinks.SystemConsole.Themes.AnsiConsoleTheme::Literate, Serilog.Sinks.Console",
|
|
"outputTemplate": "[{Timestamp:HH:mm:ss} {Level:u3}] {Message:lj}{NewLine}{Exception}"
|
|
}
|
|
},
|
|
{
|
|
"Name": "File",
|
|
"Args": {
|
|
"path": "%LOG_PATH%lumina_api_.log",
|
|
"rollingInterval": "Day",
|
|
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz} [{Level:u3}] {Message:lj}{NewLine}{Exception}",
|
|
"retainedFileCountLimit": 7,
|
|
"fileSizeLimitBytes": 10485760,
|
|
"rollOnFileSizeLimit": true,
|
|
"shared": true,
|
|
"flushToDiskInterval": "00:00:01"
|
|
}
|
|
}
|
|
],
|
|
"Enrich": [
|
|
"FromLogContext",
|
|
"WithMachineName",
|
|
"WithThreadId",
|
|
"WithEnvironmentName"
|
|
],
|
|
"Properties": {
|
|
"Application": "LuminaApi"
|
|
}
|
|
},
|
|
"AllowedHosts": "*"
|
|
}
|