Added healthchecks to server

This commit is contained in:
2025-07-06 09:55:18 +02:00
parent 1fe70264fd
commit 84a4a9d51e
4 changed files with 84 additions and 1 deletions

View File

@@ -3,7 +3,9 @@ The server by default
- runs on port 5146
- Uses Swagger UI in development mode (`/swagger/index.html`)
- Ignores API keys when in development mode
- Uses Elmah error logging (endpoint: `/elmah`, local files: `~/logs`)
- Uses serilog logging (local files: `~/logs`)
- Uses HealthChecks (endpoint: `/healthz`)
# Installing the dependencies
## Ubuntu 24.04
1. Install the .NET SDK: `sudo apt update && sudo apt install dotnet-sdk-8.0 -y`