chore(env): 添加启动脚本并更新日志配置

- 将 appsettings.json 中的日志级别调整为信息级别
- 新增 run.sh 启动脚本实现环境变量加载
- 通过环境变量设置数据库和 Redis 连接字符串
- 支持配置 JWT 密钥和签名盐
- 输出配置信息,方便调试和确认环境设置
- 运行 dotnet 项目并监听动态端口
This commit is contained in:
jonah.fu
2025-12-06 20:33:39 +08:00
parent 3be384a668
commit f9b31383da
2 changed files with 38 additions and 1 deletions
+3 -1
View File
@@ -2,7 +2,9 @@
"Logging": {
"IncludeScopes": false,
"LogLevel": {
"Default": "Warning"
"Default": "Information",
"Microsoft": "Information",
"Microsoft.Hosting.Lifetime": "Information"
}
},
"RedisCache": {