Commit Graph

11 Commits

Author SHA1 Message Date
4a46e7d2f5 fix(backend): 修正默认数据库用户名及调试模式配置
- 将默认数据库用户名从 your_user 改为 postgresql,明确用户名字段说明
- 修改 .env.example 中 DEBUG 默认为 True,方便本地调试
- 更新 deploy-docker-compose.sh 脚本中 DEBUG 默认值为 True,保持一致性
- 保持数据库连接字符串格式正确,确保环境变量配置一致
2026-02-28 17:53:30 +08:00
58fa45be8e fix: auto-create .env file during deployment 2026-02-28 17:26:03 +08:00
4dd88ad294 fix: add DATABASE_URL export for backend database connection 2026-02-28 17:11:44 +08:00
e5c82b1a95 fix: correct health check endpoint from /api/v1/health to /health 2026-02-28 17:09:41 +08:00
94cd83ea2c refactor: convert to traditional deployment without Docker 2026-02-28 16:52:41 +08:00
6a8f3c9369 fix: use 'docker compose' instead of 'docker-compose' 2026-02-28 16:39:42 +08:00
ae2d3948c9 fix: handle non-empty directory on first deploy 2026-02-28 16:35:53 +08:00
479482e10c fix: update deploy path to /data/spug/service/hospital_performance 2026-02-28 16:32:45 +08:00
fd53ff36a8 fix: replace hyphens with underscores in project naming 2026-02-28 16:26:42 +08:00
dd1b67958b refactor: simplify docker-compose deploy script for direct Spug execution 2026-02-28 16:23:28 +08:00
2e6d8c28c4 feat: add Docker support for automated deployment 2026-02-28 16:07:38 +08:00