mirror of
https://github.com/sphildreth/roadie
synced 2024-11-25 21:50:22 +00:00
107 lines
No EOL
2.9 KiB
JSON
107 lines
No EOL
2.9 KiB
JSON
{
|
|
"Kestrel": {
|
|
"EndPoints": {
|
|
"Http": {
|
|
"Url": "http://192.168.1.177:5123/"
|
|
}
|
|
}
|
|
},
|
|
"Serilog": {
|
|
"Using": [ "Serilog.Sinks.Console", "Serilog.Sinks.RollingFileAlternate" ],
|
|
"MinimumLevel": {
|
|
"Default": "Verbose",
|
|
"Override": {
|
|
"System": "Warning",
|
|
"Microsoft.AspNetCore": "Warning",
|
|
"Microsoft.EntityFrameworkCore": "Information"
|
|
}
|
|
},
|
|
"WriteTo": [
|
|
{
|
|
"Name": "Console",
|
|
"Args": {
|
|
"theme": "Serilog.Sinks.SystemConsole.Themes.AnsiConsoleTheme::Code, Serilog.Sinks.Console",
|
|
"restrictedToMinimumLevel": "Information"
|
|
}
|
|
},
|
|
{
|
|
"Name": "RollingFileAlternate",
|
|
"Args": {
|
|
"restrictedToMinimumLevel": "Warning",
|
|
"path": "{Date}.log",
|
|
"logDirectory": "logs",
|
|
"fileSizeLimitBytes": 26214400,
|
|
"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;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",
|
|
"RoadieSettings": {
|
|
"Dlna": {
|
|
"Port": 61903,
|
|
"IsEnabled": false
|
|
},
|
|
"Converting": {
|
|
"ConvertingEnabled": true,
|
|
"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}\""
|
|
},
|
|
"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": ""
|
|
}
|
|
]
|
|
}
|
|
}
|
|
} |