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:
| Flag | Meaning | Default |
|---|---|---|
--port N | Service port | 5001 |
--host H | Bind address | 127.0.0.1 |
--service-root DIR | Where the service keeps its data | app/service |
Variables in app/service/.env.local (a copy of .env.example):
| Variable | Purpose | Default |
|---|---|---|
TL_SERVICE_ROOT | Same as --service-root | app/service |
TL_HOST | Same as --host | 127.0.0.1 |
PUBLIC_DATA_PATH | Extra read-only folder shown under Samples | Unset |
AUTO_ACTIVATE_TASKNODES | Start registered model nodes with the service | true |
LLM settings are on the AI Agent page.
App
If the service runs on another port or machine, point the app at it:
PUBLIC_AI_SERVICE_API_ENDPOINT=http://127.0.0.1:5001/api
PUBLIC_AI_SERVICE_SOCKET_ENDPOINT=ws://127.0.0.1:5001/wsNetwork 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.