mirror of
https://github.com/sphildreth/roadie
synced 2024-11-10 06:44:12 +00:00
105 lines
No EOL
2.8 KiB
JSON
105 lines
No EOL
2.8 KiB
JSON
{
|
|
"Kestrel": {
|
|
"EndPoints": {
|
|
"Http": {
|
|
"Url": "http://192.168.1.177:5123/"
|
|
}
|
|
}
|
|
},
|
|
"Serilog": {
|
|
"Using": [ "Serilog.Sinks.Console", "Serilog.Sinks.RollingFileAlternate", "Serilog.Sinks.LiteDB" ],
|
|
"MinimumLevel": {
|
|
"Default": "Verbose",
|
|
"Override": {
|
|
"System": "Warning",
|
|
"Microsoft.AspNetCore": "Warning",
|
|
"Microsoft.EntityFrameworkCore": "Warning"
|
|
}
|
|
},
|
|
"WriteTo": [
|
|
{
|
|
"Name": "Console",
|
|
"Args": {
|
|
"theme": "Serilog.Sinks.SystemConsole.Themes.AnsiConsoleTheme::Code, Serilog.Sinks.Console",
|
|
"restrictedToMinimumLevel": "Information"
|
|
}
|
|
},
|
|
{
|
|
"Name": "LiteDB",
|
|
"Args": {
|
|
"databaseUrl": "logs\\logs.db",
|
|
"restrictedToMinimumLevel": "Verbose"
|
|
}
|
|
},
|
|
{
|
|
"Name": "RollingFileAlternate",
|
|
"Args": {
|
|
"minimumLevel": "Verbose",
|
|
"logDirectory": "logs",
|
|
"fileSizeLimitBytes": 26214400,
|
|
"retainedFileCountLimit": 30,
|
|
"buffered": true
|
|
}
|
|
}
|
|
],
|
|
"Enrich": [ "FromLogContext", "WithMachineName", "WithThreadId", "WithExceptionDetails" ],
|
|
"Properties": {
|
|
"Application": "Roadie API"
|
|
}
|
|
},
|
|
"Tokens": {
|
|
"PrivateKey": "!1232bcdb4bebc80a0d080883d6deefuxlsh8bfc920c2a8cskeuxd8349sk412aa785662e594b4df48cb46aa3c652b40b3#",
|
|
"PublicKey": "91i4874y24134E50sz7dges68AB08",
|
|
"Lifetime": "86400",
|
|
"Issuer": "http://localhost:5123",
|
|
"Audience": "http://localhost:5500"
|
|
},
|
|
"ConnectionStrings": {
|
|
"RoadieDatabaseConnection": "server=viking;userid=roadie;password=MenAtW0rk668;persistsecurityinfo=True;database=roadie_dev;ConvertZeroDateTime=true;Max Pool Size=200;default command timeout=180;"
|
|
},
|
|
"CORSOrigins": "http://localhost:4200|http://localhost:8080|https://localhost:8080|http://localhost:80|https://localhost:80|http://192.168.1.177:8080",
|
|
"RoadieSettings": {
|
|
"InboundFolder": "C:\\roadie_dev_root\\inbound",
|
|
"LibraryFolder": "C:\\\\roadie_dev_root\\\\library",
|
|
"Processing": {
|
|
"RemoveStringsRegex": "\\b[0-9]+\\s#\\s\\b",
|
|
"ReplaceStrings": [
|
|
{
|
|
"order": 1,
|
|
"key": "-OBSERVER",
|
|
"replaceWith": ""
|
|
},
|
|
{
|
|
"order": 2,
|
|
"key": "[Torrent Tatty]",
|
|
"replaceWith": ""
|
|
},
|
|
{
|
|
"order": 3,
|
|
"key": "_",
|
|
"replaceWith": ""
|
|
},
|
|
{
|
|
"order": 4,
|
|
"key": "-",
|
|
"replaceWith": ""
|
|
},
|
|
{
|
|
"order": 5,
|
|
"key": "~",
|
|
"replaceWith": ""
|
|
},
|
|
{
|
|
"order": 6,
|
|
"key": "^",
|
|
"replaceWith": ""
|
|
},
|
|
{
|
|
"order": 7,
|
|
"key": "#",
|
|
"replaceWith": ""
|
|
}
|
|
]
|
|
}
|
|
}
|
|
} |