58 lines
1.3 KiB
JSON
58 lines
1.3 KiB
JSON
{
|
|
"AllowedHosts": "*",
|
|
"ConnectionStrings": {
|
|
"DefaultConnection": ""
|
|
},
|
|
"JwtSettings": {
|
|
"SecretKey": "",
|
|
"Issuer": "SPMS",
|
|
"Audience": "SPMS",
|
|
"ExpiryMinutes": 10,
|
|
"RefreshTokenExpiryDays": 7
|
|
},
|
|
"RabbitMQ": {
|
|
"HostName": "",
|
|
"Port": 0,
|
|
"UserName": "",
|
|
"Password": "",
|
|
"VirtualHost": "/",
|
|
"Exchange": "spms.push.exchange",
|
|
"PushQueue": "spms.push.queue",
|
|
"ScheduleQueue": "spms.schedule.queue",
|
|
"PrefetchCount": 10,
|
|
"MessageTtl": 86400000
|
|
},
|
|
"CredentialEncryption": {
|
|
"Key": ""
|
|
},
|
|
"FileStorage": {
|
|
"UploadPath": "Uploads",
|
|
"BaseUrl": "/uploads"
|
|
},
|
|
"Serilog": {
|
|
"Using": ["Serilog.Sinks.Console", "Serilog.Sinks.File"],
|
|
"MinimumLevel": {
|
|
"Default": "Warning",
|
|
"Override": {
|
|
"SPMS": "Information",
|
|
"Microsoft.AspNetCore": "Warning",
|
|
"Microsoft.EntityFrameworkCore": "Warning"
|
|
}
|
|
},
|
|
"WriteTo": [
|
|
{
|
|
"Name": "File",
|
|
"Args": {
|
|
"path": "Logs/spms-.log",
|
|
"rollingInterval": "Day",
|
|
"retainedFileCountLimit": 30,
|
|
"outputTemplate": "{Timestamp:yyyy-MM-dd HH:mm:ss.fff zzz} [{Level:u3}] [{RequestId}] {Message:lj}{NewLine}{Exception}"
|
|
}
|
|
}
|
|
],
|
|
"Enrich": ["FromLogContext"],
|
|
"Properties": {
|
|
"Application": "SPMS_API"
|
|
}
|
|
}
|
|
} |