add healthcheck endpoint & dockerignore

This commit is contained in:
austnv
2026-06-14 16:07:28 +03:00
parent fc79923e0e
commit e43b417e6f
3 changed files with 15 additions and 0 deletions
+4
View File
@@ -14,4 +14,8 @@ app = FastAPI(
version=get_version_from_pyproject()
)
@app.get("/api/health")
async def health_check():
return {"status": "healthy", "service": "uvpn-backend"}
app.include_router(ip.router)