Skip to content

Teams that keep everything on their own server ​

A self-hosted Truetask instance keeps a team's project data, and its AI, on its own server, and this guide walks it from install to a locked-down network, local models, your own sign-in and an activated license. A self-hosted instance sends no telemetry, makes no update check and leaves the internet switched off until you turn it on, and it is the same workspace where AI agents work alongside people as on Truetask Cloud.

At a glance ​

WhatWhere it comes from
A hostDocker Engine 25 or newer and Docker Compose v2
The imagesgit.truetask.dev, pulled when you install and update, with no account
TLSYour own proxy, load balancer or tunnel in front of the bundled Caddy
A licensePaid, bought once and perpetual, activated within three days of install
MailYour SMTP server
Sign-inPasswords and emailed codes, plus OAuth2, OIDC or Active Directory if you want them
AILocal models such as Ollama or LM Studio, or providers you choose
Outbound accessOff by default, in Settings > General > Network

Set it up ​

  1. Install. Clone the release repository, run the setup wizard and start the stack:

    bash
    git clone https://git.truetask.dev/truetask/truetask-releases.git
    cd truetask-releases
    ./build_env.sh
    docker compose up -d

    The wizard asks for the data directory, the workspace name, the public URL, the proxy port and the admin account, and offers to generate the settings encryption key. See Install.

  2. Put TLS in front. The bundled Caddy container listens on plain HTTP, so point your own TLS terminator at <host>:<PROXY_PORT>, and make PUBLIC_URL the address people really reach. See Reverse proxy and TLS.

  3. Activate the license. Sign in with the admin account from the wizard and paste your key in Settings > Site > License, or on the activation screen. The instance runs for three days without one; activation is checked on the instance and needs no internet access. See How Truetask is licensed and License.

  4. Set up mail. Configure your mail server in Settings > Server > SMTP and send a test message. Sign-in codes, password resets, invitations and client email all depend on it. See SMTP.

  5. Keep the network closed. Leave Allow features that reach the internet and Allow private network targets off in Settings > General > Network. Set HELPER_RELEASE_MANIFEST=off in .env, or point it at your own copy of the release list, so the instance makes no call of its own. See Network policy and What leaves a self-hosted instance.

  6. Connect your sign-in.Settings > Server > Active Directory lets people sign in with their directory password and syncs accounts, and Settings > Server > OAuth2 adds OAuth2 and OIDC providers. See Sign-in and identity.

  7. Add a local model. In Settings > Integrations > AI, press Add model, pick Ollama, LM Studio, oMLX, vMLX or Custom, set an API URL the server can reach, press Test, then route each capability to it. See Run AI on local models only.

  8. Choose how agents run. Every agent can answer inside Truetask on that local model. A coding agent on a computer runs Claude Code, Codex or the Cursor CLI through Truetask Helper, and those tools talk to their own vendors from that computer. An AI tool on your network that speaks MCP, such as LM Studio, can work in Truetask as an agent you own. See AI agents as first-class teammates and MCP.

  9. Keep git inside. Connect a Gitea server on your own network with its Server URL on the Gitea card in Integrations; it needs neither network switch. See Git integration.

  10. Protect the data. Set a backup schedule in Settings > Server > Backups, move uploads or archives to your own object storage in Settings > Server > S3 storage if you like, and choose retention windows in Settings > Server > Data retention. See Backups, S3 storage and Data retention.

  11. Run the hardening checklist.Security covers secrets, sessions, the audit log, tokens and public surfaces.

What a normal week looks like ​

  • Work happens on boards, tasks, notes and automations, with agents on your local model or on people's computers, and nothing reads the web.
  • Watching is in Settings > Audit & Security: the audit log records changes across the workspace, and Active Sessions lists who is signed in from where.
  • Backups show their age in Settings > Server > Backups, under Last backup.
  • Updates happen when you choose: run scripts/management/truetask-update.sh after a backup, and the data directory and .env are left alone. Versions released within your updates window are included in your license. See Updates.
  • Reminders about the license come from your own instance: seven days before the updates window closes, owners and admins get an email and a notification.

Frequently asked questions ​

Can Truetask run without internet access? ​

Yes. With both Network switches off and HELPER_RELEASE_MANIFEST=off, Truetask calls nothing you did not connect yourself, and everything about your own workspace keeps working. The host needs git.truetask.dev, or a registry of your own set in TRUETASK_REGISTRY, to pull images when you install or update.

Can Truetask agents work without sending data to an AI provider? ​

Yes, for agents that answer inside Truetask on a local model, and for an MCP tool on your network that runs its own local model. Coding agents on people's computers use Claude Code, Codex or the Cursor CLI, which talk to their own vendors from that computer.

Does self-hosted Truetask need a license per user? ​

No. A self-hosted license key holds no count of people, and the instance has no user limit, so agents and clients are never counted either. See How Truetask is licensed.

What keeps working if our Truetask license updates window ends? ​

Everything. The license is perpetual and the instance keeps running exactly as it is; only versions released after the window's end date stop being included.

Where does Truetask keep our data? ​

In the data directory you chose at install, outside the application directory: the database and uploads in pb_data, plus the plugins, logs and MCP configuration. Uploads and backups can move to your own S3 storage instead.

Truetask works the same on Truetask Cloud and on your own server. Pages and sections that apply to one model only are labelled. For AI assistants: llms.txt.