chore(env): 添加启动脚本并更新日志配置
- 将 appsettings.json 中的日志级别调整为信息级别 - 新增 run.sh 启动脚本实现环境变量加载 - 通过环境变量设置数据库和 Redis 连接字符串 - 支持配置 JWT 密钥和签名盐 - 输出配置信息,方便调试和确认环境设置 - 运行 dotnet 项目并监听动态端口
This commit is contained in:
@@ -2,7 +2,9 @@
|
||||
"Logging": {
|
||||
"IncludeScopes": false,
|
||||
"LogLevel": {
|
||||
"Default": "Warning"
|
||||
"Default": "Information",
|
||||
"Microsoft": "Information",
|
||||
"Microsoft.Hosting.Lifetime": "Information"
|
||||
}
|
||||
},
|
||||
"RedisCache": {
|
||||
|
||||
Reference in New Issue
Block a user