Setup for self-hosting

1

Pull the repository

git clone https://github.com/lmnr-ai/lmnr
2

cd lmnr
3

Spin up the docker compose stack

docker compose up -d
4

Configure the SDK to export traces to the local instance

By default, the backend will listen on port 8000 for HTTP and 8001 for gRPC.

import { Laminar } from `@lmnr-ai/lmnr`;

Laminar.initialize({
    projectApiKey: "<YOUR_PROJECT_API_KEY>",
    baseUrl: "http://localhost",
    httpPort: 8000,
    grpcPort: 8001,
})
5

Access the dashboard

The dashboard will be available at http://localhost:5667/.