ZhiYi/ZhiYi.Core.Api/appsettings.Development.json

33 lines
958 B
JSON
Raw Normal View History

2025-02-21 01:14:39 +00:00
{
"ConnectionStrings": {
//"SqlConnection": "data source=127.0.0.1;initial catalog=zhiyi;persist security info=False;user id=postgres;password=123456;packet size=4096",
//"SqlConnection": "postgresql://postgres:123456@127.0.0.1:5432/zhiyi",
"SqlConnection": "PORT=5432;DATABASE=zhiyi;HOST=127.0.0.1;PASSWORD=123456;USER ID=postgres",
"Redis": "127.0.0.1:6379,password=,abortConnect=False,ssl=False,connectTimeout=5000,connectRetry=3"
},
"Jwt": {
"Key": "zhiyi_jwt_secret_key_zhiyi_jwt_secret_key",
"Issuer": "AuthApp",
"Audience": "AuthAppUsers",
"ExpiryInMinutes": 30
},
"AppSecret": "zhiyi_wkj",
"Logging": {
"LogLevel": {
"Default": "Information",
"Microsoft.AspNetCore": "Warning"
}
},
"Kestrel": {
"Endpoints": {
"Default": {
"Url": "http://0.0.0.0:5088"
},
"Grpc": {
"Url": "http://0.0.0.0:5089",
"Protocols": "Http2"
}
}
}
}