4 Commits

Author SHA1 Message Date
xuyong
35c0b7de16 integrate sub2api as upstream for auth/keys/usage via FastAPI BFF
Preserve local user table for superDream-specific features while syncing
user lifecycle, API key CRUD and usage queries through sub2api. Admin token
handles reads and user lifecycle; per-user tokens (Fernet-encrypted in DB)
handle key writes that admin endpoints do not expose.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-17 21:23:08 +08:00
xuyong
f37bc9bdf5 tag backend image as superdreamfront:0.0.1
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-04-15 21:58:20 +08:00
xuyong
b5553c144c add MySQL container to docker-compose and fix backend container/image name
- Add mysql:8.0 service with health check and named volume for data persistence
- Backend depends_on db with service_healthy condition
- Override SD_DB_HOST=db so backend connects to MySQL container via Docker network
- Rename backend container and image to superdreamfront
- Update .env.example to note "db" host for docker-compose usage

Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-04-15 21:56:55 +08:00
xuyong
7097fa6b44 first commit 2026-04-15 21:35:26 +08:00