Skip to content

Run ThreadLens with Docker

Use this path when you want the fastest local ThreadLens setup. Commands in this page run from the open-core/ directory.

  • Node and pnpm compatible with packageManager: pnpm@10.14.0.
  • Docker Desktop or another Docker Engine with Compose support.
  • Provider keys if you want AI analysis, Google scouting, or Bluesky scouting.
Terminal window
pnpm install
pnpm run docker:dev

Expected local services:

ServiceURLNotes
Go APIhttp://localhost:4749Uses SQLite stored in the scout_open_core_sqlite_data Docker volume.
Web apphttp://localhost:4748Vite dev server proxies /api requests to the Go API container.

Open http://localhost:4748 in a browser. The app should load the ThreadLens interface and call the API through the Vite proxy.

You can also check the API directly:

Terminal window
curl -i http://localhost:4749/api/runtime/capabilities

Expected result: an HTTP 200 response with JSON runtime information.

Terminal window
pnpm run docker:prod

The production profile serves the built web app from the Go API container at http://localhost:4749.

Terminal window
pnpm run docker:down

This stops supported dev and prod profiles without deleting the SQLite data volume.