Add docker build, rewrite Actions for Gitea, and add healthcheck endpoint.

This commit is contained in:
Ganonmaster
2026-04-09 17:26:35 +02:00
parent 55f42ac1f3
commit 9f9ada8150
7 changed files with 219 additions and 51 deletions
+8
View File
@@ -0,0 +1,8 @@
use axum::response::{IntoResponse, Json};
use serde_json::json;
/// GET /health
/// Returns a simple health-check response for liveness probes.
pub async fn health() -> impl IntoResponse {
Json(json!({"status": "ok"}))
}