Commit Graph

4 Commits

Author SHA1 Message Date
dekun 37128dee61 fix: auto-fix data/history write permissions in Docker entrypoint
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-16 21:44:41 +08:00
dekun 123a5cce6d Store calculation history on server with bazi input and chart snapshots.
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-13 09:57:16 +08:00
dekun 38bbc7145a Add /api/health and harden Docker deploy script for API route rollout.
404 on /api/ai indicates stale container; deploy script now uses --no-cache, stops PM2/port conflicts, and verifies /api/health.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-10 22:42:28 +08:00
dekun a1667eac51 Add Docker deployment as the recommended production setup.
Include Dockerfile, docker-compose on port 3130, npm mirror config, deploy scripts, and DOCKER.md; keep PM2 docs as fallback.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-10 21:13:12 +08:00