diff --git a/docs/Server.md b/docs/Server.md index 6f7a4da..91bdfe8 100644 --- a/docs/Server.md +++ b/docs/Server.md @@ -6,6 +6,11 @@ The server 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/server` directory +2. Build the docker container: `docker build -t embeddingsearch-server -f /Dockerfile .` +3. Run the docker container: `docker run --net=host -t embeddingsearch-server` (the `-t` is optional, but you get more meaningful output. Or use `-d` to run it in the background) # Installing the dependencies ## Ubuntu 24.04 1. Install the .NET SDK: `sudo apt update && sudo apt install dotnet-sdk-8.0 -y`