Skip to main content

Compute machines

A compute machine is where OtoDock runs its agents by default. Every chat, task, call and meeting runs there in its own sandbox. OtoDock comes with one, beside the OtoDock server. On a Docker install it is the otodock-compute container. For most installs, that one is enough.

When one server is not enough, an admin adds a compute machine on another server. A new chat goes to the machine with the most free memory and stays there.

Add a compute machine​

You need a Docker install of OtoDock, and a Linux server with Docker. If a login gateway such as Authentik sits in front of OtoDock, one path must skip the login.

  1. Open Admin → Remote Machines and click Add a compute machine.
  2. Name the machine.
  3. Run the command it shows on that server, with sudo.

That server downloads the image it needs, about 4 GB. The machine then shows as online.

Add only a server you control

Chats on a compute machine run with the accounts of the people who use them.

Admin → Remote Machines lists every compute machine with its sessions and free memory. If a machine stays offline, Pair again gives a new command to run on it. Remove removes it from OtoDock.

Next steps​