itfx/src/InterfaceForward.Api/appsettings.json
2025-09-20 09:31:50 +08:00

69 lines
1.5 KiB
JSON

{
"Serilog": {
"MinimumLevel": {
"Default": "Debug",
"Override": {
"Microsoft.AspNetCore": "Debug"
}
},
"Enrich": [
"FromLogContext",
"WithMachineName",
"WithProcessId",
"WithThreadId"
],
"WriteTo": [
{
"Name": "Console"
}
]
},
"AllowedHosts": "*",
"App": {
"Urls": [
"http://*:8888"
],
"CorsOrigins": [
"http://localhost:8888"
]
},
"InterfaceRelay": {
"FailedNeedPush": ["A007", "A009", "A022", "A015"],
"ServiceProviderDefaultQPS": 10,
"SpinPeriod": 500
},
"ConnectionStrings": {
"Default": "server=129.204.22.146;database=interface_forward;uid=dev;pwd=itd!@#123;charset=utf8mb4;"
},
"FeiShuNotice": {
"TitlePrefix": "InterfaceForward-Dev",
"Webhook": "https://open.feishu.cn/open-apis/bot/v2/hook/e5ced977-a616-42ce-8684-c7628e71b35e",
"Timeout": 20
},
"Redis": {
"Host": "129.204.22.146:6379",
"Password": "itd!@#123",
"MaxPoolSize": 1000,
"Database": 0,
"Prefix": ""
},
"RabbitMQ": {
"Connections": {
"Default": {
"HostName": "129.204.22.146",
"Port": 5672,
"UserName": "rabbit",
"Password": "itd!@#123",
"DispatchConsumersAsync": true
}
}
},
"ElasticSearch": {
"NodeUrls": [ "http://129.204.22.146:9200" ],
"LoginName": "elastic",
"Password": "itd!@#123",
"ShowLogInfo": false,
"IndexPrefix": ""
}
}