🎚 Configuration¶
TINO allows configuration via environment variables.
Note
Settings marked with 🔴 are explicitly required.
Settings marked with ⭕ are implicitly required, but have an overridable default.
- tino.config.TINO_ACCENT_COLOUR = 'orange'¶
⭕ The CI accent colour family used across the UI.
Hint
Must match a family from the confirm design colours.
- tino.config.TINO_ADMIN_GROUPS: set[str] = {'admins'}¶
⭕ Comma-separated list of OIDC groups whose members are TINO administrators.
- tino.config.TINO_AUTH_DISABLED = False¶
When set to
true, authentication is completely disabled. All requests are treated as an admin user without requiring OIDC. Intended for local development and demo environments only.
- tino.config.TINO_BASE_URL = None¶
🔴 TINO’s public base URL (e.g.
https://tino.example.com), without a trailing slash. The externally reachable address of this instance.Hint
To serve TINO under a sub-path, include it in the URL (e.g.
https://example.com/tino), seeTINO_ROOT_PATH.
- tino.config.TINO_BUCKET_DIR = PosixPath('/data/buckets')¶
⭕ The directory where bucket git repos are stored.
Hint
By default this is a sub directory of the
TINO_DATA_DIR. In case you change it to be outside of theTINO_DATA_DIR, make sure you’ve a volume or a bind mount mounted on the path.
- tino.config.TINO_DATA_DIR = PosixPath('/data')¶
⭕ The root directory where all the user data is stored.
Important
To persist the TINO data, either use a volume or a bind mount mounted on the path.
- tino.config.TINO_DEFAULT_ROLE = 'none'¶
⭕ The default role for authenticated users on buckets without an access list. Must be one of
viewer,editor,committer, ornone. When set tonone, only global admins can access buckets without an ACL.
- tino.config.TINO_FONT_DIR = PosixPath('/data/fonts')¶
Optional directory for custom fonts.
Note
The font dir is passed as
--font-pathto thetypstCLI.Hint
By default this is a sub directory of the
TINO_DATA_DIR. In case you change it to be outside of theTINO_DATA_DIR, make sure you’ve a volume or a bind mount mounted on the path.
- tino.config.TINO_LOG_LEVEL = 'INFO'¶
⭕ The log level (must match one of the Python logging levels).
- tino.config.TINO_MCP_AUDIENCE_ENABLED = True¶
⭕ When set to
true(default), the MCP server only accepts access tokens whoseaudclaim contains its resource URL (<TINO_BASE_URL>/mcp), so tokens issued for other clients or resource servers of the same realm are rejected, as required by the MCP authorization spec.Important
The OIDC provider must stamp the requested resource into
audvia RFC 8707 resource indicators, otherwise all MCP tokens are rejected (see MCP integration). Set it tofalseonly if your provider doesn’t support them yet.
- tino.config.TINO_MCP_COMMIT_ENABLED = False¶
When set to
true, the MCPcommittool is registered. Disabled by default, so agents can edit and compile files but never commit — humans review and commit via the UI.
- tino.config.TINO_MCP_ENABLED = False¶
When set to
true, the MCP server is mounted at/mcp.Warning
The MCP server is experimental and disabled by default.
- tino.config.TINO_MCP_INSTRUCTIONS = None¶
Optional additional instructions appended to the built-in MCP server instructions. Use this to provide global context to AI agents connecting via MCP (e.g. house style, terminology, or organisational policies).
- tino.config.TINO_OIDC_CLIENT_ID = 'tino'¶
⭕ The OIDC client ID.
- tino.config.TINO_OIDC_CLIENT_SECRET = None¶
🔴 The OIDC client secret.
- tino.config.TINO_OIDC_DISCOVERY_URL = None¶
🔴 The OIDC discovery URL (e.g.
https://sso.example.com/realms/example/.well-known/openid-configuration).Important
Mutually exclusive with
TINO_OIDC_ISSUER_URL, set exactly one of them. When unset, it’s derived from the issuer URL (<issuer>/.well-known/openid-configuration).
- tino.config.TINO_OIDC_GROUPS_CLAIM = 'groups'¶
⭕ The OIDC token claim that contains the user’s group memberships.
- tino.config.TINO_OIDC_ISSUER_URL = None¶
🔴 The OIDC issuer URL (e.g.
https://sso.example.com/realms/example).Important
Mutually exclusive with
TINO_OIDC_DISCOVERY_URL, set exactly one of them. When unset, it’s derived from the discovery URL (without/.well-known/openid-configuration).
- tino.config.TINO_PACKAGE_DIR = PosixPath('/data/buckets/packages')¶
Optional directory for local Typst packages (
@local/name:version).Note
The package dir is passed as
--package-pathto thetypstCLI.Hint
When this directory is set to a sub-directory of the
TINO_BUCKET_DIR, the package directory can act like a bucket, and it can be edited in the TINO web UI directly.If not set the a sub-directory of the
TINO_BUCKET_DIR, packages must be provided to the Docker container via one of the following Docker options:Via a dedicated volume (at runtime)
Via a dedicated bind mount (at runtime)
- tino.config.TINO_ROOM_TTL = 300¶
⭕ Seconds to keep a collaboration room alive after the last client disconnects. Allows reconnecting clients (e.g. page refresh) to reuse the room.
- tino.config.TINO_ROOT_PATH = ''¶
The path prefix TINO is served under, derived from the path of
TINO_BASE_URL(e.g./tinoforhttps://example.com/tino, empty when served at the root).Hint
The reverse proxy may forward requests with the prefix, or strip it; TINO accepts both.
- tino.config.TINO_SAVE_DEBOUNCE_MS = 250¶
⭕ Delay in milliseconds before auto-saving after the user stops typing.
Hint
Set to
0to disable auto-save.Important
The document is rendered from the (saved) file on disk, thus auto saving is recommended.
- tino.config.TINO_SECRET_KEY = '8ec4e9a0df06f707297db088df53f1f8089cf6931bd3af63541f5960e0bcfd66'¶
⭕ Secret key for signing session cookies.
Hint
If not set explicitly, a random token is generated on every startup. This is secure, but it will invalidate all existing sessions and forces users to log in again after a container restart.