94 lines
2.2 KiB
JSON
94 lines
2.2 KiB
JSON
{
|
|
"StartUrl": "http://*:19001",
|
|
"Logging": {
|
|
"LogLevel": {
|
|
"Default": "Information",
|
|
"Microsoft": "Warning",
|
|
"Microsoft.Hosting.Lifetime": "Information"
|
|
}
|
|
},
|
|
"AllowedHosts": "*",
|
|
|
|
"SqlLog_Enable": false,
|
|
|
|
"Consul_Enabled": false,
|
|
"DbCodeFirst_Enabled": true,
|
|
"DbSeed_Enabled": true,
|
|
"Apollo_Enabled": false,
|
|
"HealthCheck_Enabled": false,
|
|
"RabbitMQ_Enabled": false,
|
|
"Redis_Enabled": false,
|
|
"RedisSeed_Enabled": false,
|
|
"Kafka_Enabled": false,
|
|
"ElasticSeach_Enabled": false,
|
|
"MutiDB_Enabled": false,
|
|
"SMS_Enabled": false,
|
|
"CAP_Enabled": false,
|
|
"CAPDashboard_Enabled": false,
|
|
|
|
"Cors_Enabled": true,
|
|
"DbList": [ "Sqlite", "Mysql", "Sqlserver", "Oracle" ],
|
|
"DbSelect": "Sqlite",
|
|
"DbConn": {
|
|
"WriteUrl": "DataSource=yi-sqlsugar-dev.db",
|
|
//"WriteUrl": "[xxxx];port=3306;database=[xxxx];user id=[xxxx];password=[xxxx]",
|
|
"ReadUrl": [
|
|
"server=[xxxx];port=3306;database=[xxxx];user id=[xxxx];password=[xxxx]",
|
|
"server=[xxxx];port=3306;database=[xxxx];user id=[xxxx];password=[xxxx]",
|
|
"server=[xxxx];port=3306;database=[xxxx];user id=[xxxx];password=[xxxx]"
|
|
]
|
|
},
|
|
"JwtAuthorize": {
|
|
"Issuer": "cc",
|
|
"Audience": "cc",
|
|
"PolicyName": "permission",
|
|
"DefaultScheme": "Bearer",
|
|
"IsHttps": false,
|
|
"Expiration": 300,
|
|
"ReExpiration": 3000
|
|
},
|
|
"RedisConnOptions": {
|
|
"Host": "[xxxx]",
|
|
"Prot": 6379,
|
|
"DB": 1,
|
|
"Password": "[xxxx]"
|
|
},
|
|
"RabbitConn": {
|
|
"HostName": "[xxxx]",
|
|
"UserName": "[xxxx]",
|
|
"Password": "[xxxx]",
|
|
"Port": 5672
|
|
},
|
|
"ElasticSeachConn": {
|
|
"Url": "[xxxx]",
|
|
"IndexName": "[xxxx]",
|
|
"UserName": "[xxxx]",
|
|
"PassWord": "[xxxx]"
|
|
},
|
|
"KafkaOptions": {
|
|
"BrokerList": "[xxxx]",
|
|
"TopicName": "[xxxx]"
|
|
},
|
|
"ConsulClientOption": {
|
|
"IP": "[xxxx]",
|
|
"Port": "[xxxx]",
|
|
"Datacenter": "[xxxx]"
|
|
},
|
|
"ConsulRegisterOption": {
|
|
"IP": "[xxxx]",
|
|
"Port": "19001",
|
|
"GroupName": "ApiMicroservice",
|
|
"HealthCheckUrl": "/Health",
|
|
"Interval": 10,
|
|
"Timeout": 5,
|
|
"DeregisterCriticalServiceAfter": 60,
|
|
"Tag": "13"
|
|
},
|
|
"SMS": {
|
|
"ID": "[xxxx]",
|
|
"Secret": "[xxxx]",
|
|
"Sign": "[xxxx]",
|
|
"Template": "[xxxx]"
|
|
},
|
|
"IPLibraryServiceUrl": "http://gRPCIPLibraryService"
|
|
} |