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.
iot/projects/UserCenter/appsettings.json

69 lines
1.7 KiB

{
"server.urls": "http://*:8010",
"BasePath": "/UserCenter",
"tableprefix": "uc",
"useRedisSignalR": "false",
"useConfigServer": "false",
"useLogServer": "false",
"useServiceServer": "false",
"nacosConfigServer": {
"ServerAddresses": "localhost:8848",
"Optional": false,
"DataId": "UserCenter",
"Group": "IoT",
"Tenant": ""
},
"nacos": {
"ServerAddresses": [ "localhost:8848" ],
"DefaultTimeOut": 15,
"Namespace": "",
"ListenInterval": 1000,
"ServiceName": "UserCenter",
"Ip": "127.0.0.1",
"Port": "8010"
},
"jwt": {
"key": "111111111111111111111111",
"issuer": "111111111111111111111111",
"audience": "111111111111111111111111"
},
"elasticsearch": {
"url": "http://localhost:9200"
},
"security": {
"key": "111111111111111111111111"
},
"openapi": {
"name": "openapi",
"title": "title",
"version": "v1"
},
"usercenter": {
"key": "123456",
"login": "/UserCenter/Account/Login",
"logout": "/UserCenter/Account/Logout",
"register": "/UserCenter/Account/Register"
},
"ConnectionStrings": {
"postgresql": "User ID=root;Host=localhost;Port=26257;Database=usercenter;CommandTimeout=120",
"sqlite": "Data Source=usercenter.db",
"mysql": "Server=localhost;Port=3306;Database=usercenter;Uid=root;Pwd=root;",
"redis": "localhost:6379,allowAdmin=true"
},
"AppSettings": {
"database": "mysql",
"cache": "memory",
"fileserver": "minio"
},
"minio": {
"endpoint": "localhost:9000",
"accessKey": "admin",
"secretKey": "12345678"
},
"AccessTokenHours": 0.5,
"RefreshToken": 720,
"MaxFailedAccessAttemptsBeforeLockout": 5,
"DefaultAccountLockoutMinutes": 10,
"CaptchaSeconds": 60,
"RegisterDisabled": false
}