feat: add .env file for deployment configuration
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -56,7 +56,7 @@ logs/
|
||||
backend/logs/
|
||||
|
||||
# Environment
|
||||
.env
|
||||
# .env # 已注释,允许提交
|
||||
.env.local
|
||||
|
||||
# OS
|
||||
|
||||
10
backend/.env
Normal file
10
backend/.env
Normal file
@@ -0,0 +1,10 @@
|
||||
# 环境变量配置
|
||||
|
||||
# 数据库配置 (PostgreSQL)
|
||||
DATABASE_URL=postgresql+asyncpg://postgresql:Jchl1528@192.168.110.252:15432/hospital_performance
|
||||
|
||||
# JWT 配置
|
||||
SECRET_KEY=test-secret-key-for-development-only-min-32-chars
|
||||
|
||||
# 调试模式
|
||||
DEBUG=True
|
||||
Reference in New Issue
Block a user