diff --git a/.gitignore b/.gitignore index 01f8cfa..9dd3c65 100644 --- a/.gitignore +++ b/.gitignore @@ -56,7 +56,7 @@ logs/ backend/logs/ # Environment -.env +# .env # 已注释,允许提交 .env.local # OS diff --git a/backend/.env b/backend/.env new file mode 100644 index 0000000..ef5f35b --- /dev/null +++ b/backend/.env @@ -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