feat: initial FastAPI setup with health endpoint
This commit is contained in:
0
app/__init__.py
Normal file
0
app/__init__.py
Normal file
8
app/main.py
Normal file
8
app/main.py
Normal 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"}
|
||||
Reference in New Issue
Block a user