Commit Graph

5 Commits

Author SHA1 Message Date
Johngreen
782dc225bf feat(ci): auto-run alembic migrations and seed on container start
All checks were successful
Deploy to Production / deploy (push) Successful in 44s
- Add entrypoint.sh (migrate → seed → uvicorn)
- Add python-dotenv to requirements.txt
- Backend container uses entrypoint instead of direct uvicorn

Co-Authored-By: Claude Opus 4 <noreply@anthropic.com>
2026-02-10 12:36:01 +09:00
Johngreen
741c868367 fix(ci): stop v1 containers before starting v2 to free ports 8100/4000
All checks were successful
Deploy to Production / deploy (push) Successful in 59s
2026-02-10 12:33:20 +09:00
Johngreen
42f8b8131d ci: retry deploy with PEM format SSH key
All checks were successful
Deploy to Production / deploy (push) Successful in 1m51s
2026-02-10 12:30:32 +09:00
Johngreen
fcff23cd7c chore: add CI/CD pipeline and container configs for production deployment
Some checks failed
Deploy to Production / deploy (push) Failing after 1m24s
- Containerfile.backend/frontend for Docker builds
- docker-compose.prod.yml (PostgreSQL + API:8100 + Dashboard:4000)
- Gitea Actions workflow for auto-deploy on push to main
- Frontend dev port changed to 3100

Co-Authored-By: Claude Opus 4 <noreply@anthropic.com>
2026-02-10 12:21:07 +09:00
Johngreen
ab2a3e35b2 feat: Phase 0-2 complete — auth, machines, equipment parts with full CRUD
Multi-tenant factory inspection system (SpiFox, Enkid, Alpet):
- FastAPI backend with JWT auth, PostgreSQL (asyncpg)
- Next.js 16 frontend with App Router, SWR data fetching
- Machines CRUD with equipment parts management
- Part lifecycle tracking (hours/count/date) with counters
- Partial unique index for soft-delete support
- 24 pytest tests passing, E2E verified

Co-Authored-By: Claude Opus 4 <noreply@anthropic.com>
2026-02-10 12:05:22 +09:00