feat: add health check endpoint and suppress health check logs

Added a /health endpoint for application health monitoring

Implemented logging filter to suppress health check requests from logs

Updated Dockerfile and Kubernetes deployment to use the new health check endpoint

Incremented production image tag version
This commit is contained in:
herel committed 2025-09-04 00:42:53 +02:00
1 parent cadc34f797
commit b3426f7493
4 files changed
+27 -10

No files matched your search

+1 -1
View File
@@ -42,7 +42,7 @@ EXPOSE 8000
# Health check
HEALTHCHECK --interval=30s --timeout=30s --start-period=5s --retries=3 \
CMD curl -f http://localhost:8000/ || exit 1
CMD curl -f http://localhost:8000/health || exit 1
# Run the application
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "8000"]