Skip to content

Environment Variables

ThreadLens preserves existing runtime environment variable names even when public docs use the ThreadLens brand.

VariableDefaultPurpose
PORT4749Go API HTTP port.
SCOUT_DB_PATH../../scout.db from the API working directorySQLite database path. Docker sets this to /data/scout.db.
SCOUT_FRONTEND_DIST../web/dist from the API working directoryStatic web build directory served by the Go API.
ANTHROPIC_API_KEYEmptyAnthropic-backed AI workflows.
GEMINI_API_KEYEmptyGemini provider path.
PARALLEL_API_KEYEmptyParallel.ai Search provider for Google scouting.
BLUESKY_HANDLEEmptyBluesky API account handle.
BLUESKY_APP_PASSWORDEmptyBluesky app password.
SCOUT_ENV_FILEEmptyDocker env-file override for embedding repositories.
SCOUT_INIT_DEMOEmptySeeds demo data when set to 1.
THREADLENS_RUNTIME_MODEself-hostedSelects self-hosted or hosted.

Do not rename these variables as part of documentation updates.