mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-04-09 02:36:36 +08:00
添加es服务扩展
This commit is contained in:
@@ -24,7 +24,7 @@ namespace Yi.Framework.ApiMicroservice
|
||||
.ConfigureAppConfiguration((hostBuilderContext, configurationBuilder) =>
|
||||
{
|
||||
configurationBuilder.AddCommandLine(args);
|
||||
configurationBuilder.AddJsonFile("appsettings.json", optional: true, reloadOnChange: false);
|
||||
configurationBuilder.AddJsonFileService();
|
||||
#region
|
||||
//ApolloÅäÖÃ
|
||||
#endregion
|
||||
|
||||
@@ -70,6 +70,11 @@ namespace Yi.Framework.ApiMicroservice
|
||||
#endregion
|
||||
services.AddRabbitMQService();
|
||||
|
||||
#region
|
||||
//ElasticSeach服务配置
|
||||
#endregion
|
||||
services.AddElasticSeachService();
|
||||
|
||||
#region
|
||||
//短信服务配置
|
||||
#endregion
|
||||
|
||||
@@ -17,6 +17,7 @@
|
||||
"Redis_Enabled": true,
|
||||
"RedisSeed_Enabled": true,
|
||||
"Kafka_Enabled": false,
|
||||
"ElasticSeach_Enabled": false,
|
||||
"MutiDB_Enabled": false,
|
||||
"SMS_Enabled": true,
|
||||
"DbList": [ "Sqlite", "Mysql", "Sqlserver", "Oracle" ],
|
||||
@@ -53,6 +54,10 @@
|
||||
"Password": "cc",
|
||||
"Port": 5672
|
||||
},
|
||||
"ElasticSeachConn": {
|
||||
"Url": "",
|
||||
"IndexName": ""
|
||||
},
|
||||
"KafkaOptions": {
|
||||
"BrokerList": "192.168.3.230:9092",
|
||||
"TopicName": "kafkalog"
|
||||
|
||||
Reference in New Issue
Block a user