完善文档与前端迁移,补充开源协议

This commit is contained in:
2026-04-17 19:48:13 +08:00
parent 466fa50aa8
commit 31916e68a6
94 changed files with 7019 additions and 480 deletions

View File

@@ -16,6 +16,7 @@ services:
environment:
# 数据库配置SQLite 默认,使用持久化卷)
- DATABASE_URL=sqlite+aiosqlite:////app/data/qquiz.db
- UPLOAD_DIR=/app/uploads
volumes:
# 持久化数据卷
@@ -25,7 +26,7 @@ services:
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:8000/health"]
test: ["CMD", "python", "-c", "import sys, urllib.request; urllib.request.urlopen('http://localhost:8000/health', timeout=5); sys.exit(0)"]
interval: 30s
timeout: 10s
retries: 3