61 lines
1.6 KiB
JSON
61 lines
1.6 KiB
JSON
|
|
{
|
||
|
|
"Serilog": {
|
||
|
|
"Using": [
|
||
|
|
"Serilog.Sinks.Console",
|
||
|
|
"Serilog.Sinks.File"
|
||
|
|
],
|
||
|
|
"MinimumLevel": {
|
||
|
|
"Default": "Debug",
|
||
|
|
"Override": {
|
||
|
|
"Microsoft": "Information",
|
||
|
|
"Volo.Abp": "Information",
|
||
|
|
"Hangfire": "Information",
|
||
|
|
"DotNetCore.CAP": "Information",
|
||
|
|
"Serilog.AspNetCore": "Information",
|
||
|
|
"Microsoft.EntityFrameworkCore": "Warning",
|
||
|
|
"Microsoft.AspNetCore": "Information"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"WriteTo": [
|
||
|
|
{
|
||
|
|
"Name": "Console"
|
||
|
|
},
|
||
|
|
{
|
||
|
|
"Name": "File",
|
||
|
|
"Args": {
|
||
|
|
"path": "logs/logs-.txt",
|
||
|
|
"rollingInterval": "Day"
|
||
|
|
}
|
||
|
|
}
|
||
|
|
]
|
||
|
|
},
|
||
|
|
"App": {
|
||
|
|
"SelfUrl": "http://localhost:44315",
|
||
|
|
"CorsOrigins": "https://*.IOT.com,http://localhost:4200,http://localhost:3100,http://118.190.144.92:9111"
|
||
|
|
},
|
||
|
|
"ConnectionStrings": {
|
||
|
|
"Default": "Data Source=118.190.144.92;Port=33306;Database=JiSheIOTDB;uid=root;pwd=admin123;charset=utf8mb4;Allow User Variables=true;AllowLoadLocalInfile=true"
|
||
|
|
},
|
||
|
|
"Redis": {
|
||
|
|
"Configuration": "118.190.144.92:6379,defaultdatabase=14"
|
||
|
|
},
|
||
|
|
"Jwt": {
|
||
|
|
"Audience": "JiShe.IOT",
|
||
|
|
"SecurityKey": "dzehzRz9a8asdfasfdadfasdfasdfafsdadfasbasdf=",
|
||
|
|
"Issuer": "JiShe.IOT",
|
||
|
|
"ExpirationTime": 2
|
||
|
|
},
|
||
|
|
"ElasticSearch": {
|
||
|
|
"Enabled": "false",
|
||
|
|
"Url": "http://es.cn",
|
||
|
|
"IndexFormat": "JiShe.IOT.development.{0:yyyy.MM.dd}",
|
||
|
|
"UserName": "elastic",
|
||
|
|
"Password": "aVVhjQ95RP7nbwNy",
|
||
|
|
"SearchIndexFormat": "JiShe.IOT.development*"
|
||
|
|
},
|
||
|
|
"Consul": {
|
||
|
|
"Enabled": false,
|
||
|
|
"Host": "http://localhost:8500",
|
||
|
|
"Service": "Project-Service"
|
||
|
|
}
|
||
|
|
}
|