Added Docker support for the Indexer

This commit is contained in:
2025-06-15 13:56:55 +02:00
parent d95c1c57bb
commit 7d566cd921
8 changed files with 91 additions and 4 deletions

View File

@@ -6,6 +6,12 @@ The indexer by default
- Uses Elmah error logging (endpoint: `/elmah`, local files: `~/logs`)
- Uses serilog logging (local files: `~/logs`)
- Uses HealthChecks (endpoint: `/healthz`)
## Docker installation
(On Linux you might need root privileges, thus use `sudo` where necessary)
1. Navigate to the `src` directory
2. Build the docker container: `docker build -t indexer -f Indexer/Dockerfile .`
3. Run the docker container: `docker run -t indexer` (the `-t` is optional, but you get more meaningful output)
## Installing the dependencies
## Ubuntu 24.04
1. Install the .NET SDK: `sudo apt update && sudo apt install dotnet-sdk-8.0 -y`