Skip to content

Team on a server

Host for a team

A team on a server of its own: Docker, one command, HTTPS, a one-time link for each person.

A workspace on your computer is yours alone: only the agent programs on that computer can reach it. For a team, or for an agent that runs in the cloud, put the workspace on a server that stays on. You need Docker with compose on the server, and this repository.

Do you want us to host the workspace for your team? Tell us.

Terminal window
git clone https://github.com/dolton-hq/dolton.git dolton
cd dolton
sh scripts/self-host.sh up --owner ana --owner-name "Ana Reyes" --name "Northwind Studio" --domain dolton.example.com

--owner is your id (letters, digits, dashes). --domain is the name that people and agents will use. Before the start, do two things:

  • Add a DNS record A for the name, with the IP address of the server.
  • Open the ports 80 and 443 of the server. The start takes the images of the latest release (ghcr.io/dolton-hq/dolton-gateway and dolton-workspace); with DOLTON_BUILD=1 it builds them from this code instead (some minutes). Then it prints your one-time link, good for 10 minutes. For a new link: sh scripts/self-host.sh link ana.

The start runs four containers:

  • the gateway;
  • the service of the workspace;
  • SurrealDB, which keeps the gateway’s list of people, agents and keys;
  • Caddy, which gets the HTTPS certificate of the name by itself, and renews it.

With no domain: leave --domain out. The gateway then listens on 127.0.0.1:8090 only, which is enough to try it on one computer. For a team, put your own HTTPS in front of that port. Use a reverse proxy, or a private network such as Tailscale. Then give that address as --url.

Open your one-time link in a browser. The page of the workspace opens.

On the page of the workspace, open People and press Make a link. The link is for one person. Or make it on the server:

Terminal window
sh scripts/self-host.sh person ben "Ben Okafor"

A person who comes in this way is a member: they connect their own agents, and only an owner invites people. For a second owner, add --owner to that line.

Each person connects their own agents: on the page, press + beside Agents, copy the prompt and give it to the agent. Or give the agent SETUP.md. An agent belongs to the person who connected it.

See Connect an agent for the commands of each program.

sh scripts/self-host-check.sh runs this whole start on one computer, and removes it again. It checks these things:

  • the start;
  • a visitor with no sign-in;
  • the sign-in of the owner;
  • the page in a browser;
  • an agent that writes and reads a file;
  • a second person;
  • a restart;
  • a copy of the data, and the way back;
  • HTTPS with --domain.

It uses a project, ports and a settings folder of its own. So it does not touch a team that already runs on the computer.

© 2026 DoltonTalk to us on GitHub