37 lines
1.0 KiB
JSON
37 lines
1.0 KiB
JSON
{
|
|
"ConnectionStrings": {
|
|
"Default": "Host=postgres;Port=5432;Database=lct2025;Username=postgres;Password=postgres"
|
|
},
|
|
"Jwt": {
|
|
"Key": "Dev_Insecure_Key_Change_Me",
|
|
"Issuer": "LctMonolith",
|
|
"Audience": "LctMonolithAudience",
|
|
"AccessTokenMinutes": 60,
|
|
"RefreshTokenDays": 7
|
|
},
|
|
"Serilog": {
|
|
"Using": [ "Serilog.Sinks.Console", "Serilog.Sinks.File", "Serilog.Sinks.Debug" ],
|
|
"MinimumLevel": {
|
|
"Default": "Information",
|
|
"Override": {
|
|
"Microsoft": "Warning",
|
|
"Microsoft.Hosting.Lifetime": "Information"
|
|
}
|
|
},
|
|
"WriteTo": [
|
|
{ "Name": "Console" },
|
|
{ "Name": "Debug" },
|
|
{ "Name": "File", "Args": { "path": "Logs/log-.txt", "rollingInterval": "Day", "shared": true } }
|
|
],
|
|
"Enrich": [ "FromLogContext", "WithMachineName", "WithThreadId" ],
|
|
"Properties": { "Application": "LctMonolith" }
|
|
},
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft.AspNetCore": "Warning"
|
|
}
|
|
},
|
|
"AllowedHosts": "*"
|
|
}
|