roadie/Roadie.Api/appsettings.json

107 lines
2.9 KiB
JSON
Raw Normal View History

2018-11-02 16:04:49 -05:00
{
"Kestrel": {
"EndPoints": {
"Http": {
2018-11-21 00:34:53 -06:00
"Url": "http://192.168.1.177:5123/"
}
}
},
2018-11-23 09:10:33 -06:00
"Serilog": {
"Using": [ "Serilog.Sinks.Console", "Serilog.Sinks.RollingFileAlternate" ],
2018-11-23 09:10:33 -06:00
"MinimumLevel": {
2018-12-05 10:04:21 -06:00
"Default": "Verbose",
2018-11-23 09:10:33 -06:00
"Override": {
2018-12-05 10:04:21 -06:00
"System": "Warning",
"Microsoft.AspNetCore": "Warning",
2019-01-11 18:27:49 -06:00
"Microsoft.EntityFrameworkCore": "Information"
2018-11-02 16:04:49 -05:00
}
},
2018-11-23 09:10:33 -06:00
"WriteTo": [
{
"Name": "Console",
"Args": {
2018-11-25 14:43:52 -06:00
"theme": "Serilog.Sinks.SystemConsole.Themes.AnsiConsoleTheme::Code, Serilog.Sinks.Console",
2019-09-04 21:04:20 -05:00
"restrictedToMinimumLevel": "Information"
2018-11-23 19:46:12 -06:00
}
2018-11-23 09:10:33 -06:00
},
{
2018-11-23 19:46:12 -06:00
"Name": "RollingFileAlternate",
2018-11-23 09:10:33 -06:00
"Args": {
2018-11-25 14:43:52 -06:00
"restrictedToMinimumLevel": "Warning",
2018-11-23 19:46:12 -06:00
"path": "{Date}.log",
"logDirectory": "logs",
"fileSizeLimitBytes": 26214400,
2018-11-23 09:10:33 -06:00
"buffered": true
}
}
],
"Enrich": [ "FromLogContext", "WithMachineName", "WithThreadId", "WithExceptionDetails" ],
"Properties": {
"Application": "Roadie API"
2018-11-02 16:04:49 -05:00
}
},
"Tokens": {
"PrivateKey": "!1232bcdb4bebc80a0d080883d6deefuxlsh8bfc920c2a8cskeuxd8349sk412aa785662e594b4df48cb46aa3c652b40b3#",
"PublicKey": "91i4874y24134E50sz7dges68AB08",
"Lifetime": "86400",
"Issuer": "http://localhost:5123",
"Audience": "http://localhost:5500"
},
"ConnectionStrings": {
2019-05-14 15:20:09 -05:00
"RoadieDatabaseConnection": "server=viking;userid=roadie;password=MenAtW0rk668;persistsecurityinfo=True;database=roadie;ConvertZeroDateTime=true;Max Pool Size=200;default command timeout=180;"
2018-11-02 16:04:49 -05:00
},
2019-06-02 18:52:09 -05:00
"CORSOrigins": "http://localhost:4200|http://localhost:8080|https://localhost:8080|http://localhost:80|https://localhost:80",
2018-11-04 18:08:37 -06:00
"RoadieSettings": {
2019-09-04 21:04:20 -05:00
"Dlna": {
"Port": 61903,
"IsEnabled": false
2019-09-04 21:04:20 -05:00
},
2018-11-04 18:08:37 -06:00
"Converting": {
"ConvertingEnabled": true,
2018-11-04 18:08:37 -06:00
"DoDeleteAfter": true,
"M4AConvertCommand": "ffmpeg -i \"{0}\" -acodec libmp3lame -q:a 0 \"{1}\"",
"OGGConvertCommand": "ffmpeg -i \"{0}\" -acodec libmp3lame -q:a 0 \"{1}\"\"",
"APEConvertCommand": "ffmpeg -i \"{0}\" \"{1}\"",
"FLACConvertCommand": "ffmpeg -i \"{0}\" -q:a 0 \"{1}\""
2018-11-04 18:08:37 -06:00
},
"Processing": {
"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": ""
}
]
}
2018-11-02 16:04:49 -05:00
}
}