You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
1.6 KiB
61 lines
1.6 KiB
{
|
|
"Serilog": {
|
|
"MinimumLevel": {
|
|
"Default": "Information",
|
|
"Override": {
|
|
"Microsoft": "Information",
|
|
"Volo.Abp": "Information",
|
|
"Hangfire": "Information",
|
|
"DotNetCore.CAP": "Information",
|
|
"Serilog.AspNetCore": "Information"
|
|
}
|
|
}
|
|
},
|
|
"App": {
|
|
"SelfUrl": "http://localhost:44315",
|
|
"CorsOrigins": "https://*.ProjectName.com,http://localhost:4200,http://localhost:3100"
|
|
},
|
|
"ConnectionStrings": {
|
|
"Default": "Data Source=localhost;Database=CompanyNameProjectNameDB20211106;uid=root;pwd=1q2w3E*;charset=utf8mb4;Allow User Variables=true;AllowLoadLocalInfile=true"
|
|
},
|
|
"Redis": {
|
|
"Configuration": "localhost,password=mypassword,defaultdatabase=1"
|
|
},
|
|
"Jwt": {
|
|
"Audience": "CompanyNameProjectName",
|
|
//客户端标识
|
|
"SecurityKey": "dzehzRz9a8asdfasfdadfasdfasdfafsdadfasbasdf=",
|
|
"Issuer": "CompanyNameProjectName",
|
|
//签发者
|
|
"ExpirationTime": 24
|
|
//过期时间 hour
|
|
},
|
|
"Cap": {
|
|
"Enabled": "false",
|
|
"RabbitMq": {
|
|
"HostName": "localhost",
|
|
"UserName": "admin",
|
|
"Password": "admin"
|
|
}
|
|
},
|
|
"LogToElasticSearch": {
|
|
"Enabled": "false",
|
|
"ElasticSearch": {
|
|
"Url": "http://es.cn",
|
|
"IndexFormat": "companyname.projectname.development",
|
|
"UserName": "elastic",
|
|
"Password": "aVVhjQ95RP7nbwNy",
|
|
"DashboardIndex": "companyname.projectname"
|
|
}
|
|
},
|
|
"HttpClient": {
|
|
"Sts": {
|
|
"Url": "http://localhost:44354"
|
|
}
|
|
},
|
|
"Consul": {
|
|
"Enabled": false,
|
|
"Host": "http://localhost:8500",
|
|
"Service": "Project-Service"
|
|
}
|
|
}
|