mirror of
https://github.com/sphildreth/roadie
synced 2024-11-10 06:44:12 +00:00
73 lines
No EOL
2.1 KiB
JSON
73 lines
No EOL
2.1 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": "Verbose"
|
|
}
|
|
},
|
|
{
|
|
"Name": "LiteDB",
|
|
"Args": {
|
|
"databaseUrl": "logs\\logs.litedb",
|
|
"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"
|
|
},
|
|
"CORSOrigins": "http://localhost:4200|http://localhost:8080|https://localhost:8080|http://localhost:80|https://localhost:80",
|
|
"RoadieSettings": {
|
|
"DbContextToUse": "File",
|
|
"SiteName": "Roadie File",
|
|
"FileDatabaseOptions": {
|
|
"DatabaseFolder": "C:\\roadie_dev_file_root\\db"
|
|
},
|
|
"InboundFolder": "C:\\roadie_dev_file_root\\inbound",
|
|
"LibraryFolder": "C:\\roadie_dev_file_root\\library",
|
|
"Dlna": {
|
|
"IsEnabled": false
|
|
},
|
|
"Processing": {
|
|
"RemoveStringsRegex": "\\b[0-9]+\\s#\\s\\b"
|
|
}
|
|
}
|
|
} |