- Add Dockerfile and .dockerignore- Fix initial DB creation- Fix seed permission
This commit is contained in:
@@ -97,6 +97,15 @@ logging.basicConfig(
|
||||
)
|
||||
logger = logging.getLogger(__name__)
|
||||
|
||||
# ============================================================
|
||||
# Health Check Endpoint (for Kubernetes probes)
|
||||
# ============================================================
|
||||
|
||||
@app.get("/health")
|
||||
async def health_check():
|
||||
"""Health check endpoint for Kubernetes liveness/readiness probes."""
|
||||
return {"status": "healthy", "service": "membership-backend"}
|
||||
|
||||
# ============================================================
|
||||
# Helper Functions
|
||||
# ============================================================
|
||||
|
||||
Reference in New Issue
Block a user