feat: initial FastAPI setup with health endpoint

This commit is contained in:
2025-11-30 15:01:32 -05:00
parent aacff6f9b9
commit fe09ca1baf
3 changed files with 11 additions and 0 deletions

0
app/__init__.py Normal file
View File

8
app/main.py Normal file
View File

@@ -0,0 +1,8 @@
from fastapi import FastAPI
app = FastAPI(title="FFmpeg Worker", version="1.0.0")
@app.get("/health")
async def health() -> dict[str, str]:
return {"status": "ok"}

3
requirements.txt Normal file
View File

@@ -0,0 +1,3 @@
fastapi==0.115.0
uvicorn[standard]==0.32.0
pydantic==2.9.0