Skip to Content
TissueLab Docs

Configuration

The few settings most self-hosted deployments need.

TissueLab runs with its defaults; everything on this page is optional.

Service

Flags of python main.py:

FlagMeaningDefault
--port NService port5001
--host HBind address127.0.0.1
--service-root DIRWhere the service keeps its dataapp/service

Variables in app/service/.env.local (a copy of .env.example):

VariablePurposeDefault
TL_SERVICE_ROOTSame as --service-rootapp/service
TL_HOSTSame as --host127.0.0.1
PUBLIC_DATA_PATHExtra read-only folder shown under SamplesUnset
AUTO_ACTIVATE_TASKNODESStart registered model nodes with the servicetrue

LLM settings are on the AI Agent page.

App

If the service runs on another port or machine, point the app at it:

app/render/.env.local
PUBLIC_AI_SERVICE_API_ENDPOINT=http://127.0.0.1:5001/api
PUBLIC_AI_SERVICE_SOCKET_ENDPOINT=ws://127.0.0.1:5001/ws

Network access

No authentication

The service has no login. By default it only accepts connections from the same machine.

  • To serve other machines, start it with --host 0.0.0.0.
  • Do this only on a network you trust, or put a reverse proxy with its own authentication in front: anyone who can reach the port can read and modify the slides.

On this page