Compare commits

...

2 Commits

Author SHA1 Message Date
1ad1a9cbb1 feat: add .env.example template for production deployment 2026-02-28 17:24:47 +08:00
0395f31d24 fix(env): 修正示例环境变量配置
- 更新数据库连接信息为生产环境示例
- 修改调试模式默认值为 False
- 添加注释提示生产环境需修改数据库信息
2026-02-28 17:24:20 +08:00

View File

@@ -1,10 +1,12 @@
# 环境变量配置
# 数据库配置 (PostgreSQL)
DATABASE_URL=postgresql+asyncpg://postgres:postgres@localhost:5432/hospital_performance
# 生产环境请修改为实际的数据库连接信息
# 格式: postgresql+asyncpg://用户名:密码@主机:端口/数据库名
DATABASE_URL=postgresql+asyncpg://your_user:your_password@your_host:15432/hospital_performance
# JWT 配置
SECRET_KEY=your-secret-key-change-in-production-min-32-characters
# 调试模式
DEBUG=True
DEBUG=False