roadie/Roadie.Api/appsettings.DevelopmentSQLite.json
2019-11-28 11:38:26 -06:00

80 lines
No EOL
2.2 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": "LiteDB",
"Args": {
"databaseUrl": "logs\\errors.litedb",
"restrictedToMinimumLevel": "Error"
}
},
{
"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": "SQLite",
"SiteName": "Roadie SQLite",
"FileDatabaseOptions": {
"DatabaseFolder": "C:\\roadie_dev_sqlite_root\\db"
},
"InboundFolder": "C:\\roadie_dev_sqlite_root\\inbound",
"LibraryFolder": "C:\\roadie_dev_sqlite_root\\library",
"Dlna": {
"IsEnabled": false
},
"Processing": {
"RemoveStringsRegex": "\\b[0-9]+\\s#\\s\\b"
}
}
}