Skip to content

Add FastAPI health server and align with camera-proxy deploy pattern#1

Open
SissiFeng wants to merge 2 commits intomainfrom
align-camera-proxy-pattern
Open

Add FastAPI health server and align with camera-proxy deploy pattern#1
SissiFeng wants to merge 2 commits intomainfrom
align-camera-proxy-pattern

Conversation

@SissiFeng
Copy link
Copy Markdown
Collaborator

  • Replace Typer CLI entry with FastAPI app + /health endpoint
  • Run upload scheduler in background thread via lifespan
  • Switch to HTTP health check (uvicorn :8000) matching ALB expectations
  • Update Dockerfile: EXPOSE 8000, HTTP-based HEALTHCHECK
  • Align tfvars: port 8000, health check 30s/5s, Lab PC IP
  • Use GitHub App token for infrastructure-modules checkout
  • Add environment gates to deploy workflow jobs

SissiFeng and others added 2 commits March 26, 2026 11:11
- Replace Typer CLI entry with FastAPI app + /health endpoint
- Run upload scheduler in background thread via lifespan
- Switch to HTTP health check (uvicorn :8000) matching ALB expectations
- Update Dockerfile: EXPOSE 8000, HTTP-based HEALTHCHECK
- Align tfvars: port 8000, health check 30s/5s, Lab PC IP
- Use GitHub App token for infrastructure-modules checkout
- Add environment gates to deploy workflow jobs
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant