Deploy & runGuide

Waiso on Dokploy

Dokploy reads one import text that carries our compose file and the list of things it should make for you: three addresses (the web app, the API and the editor service), a database password and two keys. You paste it, press Deploy, and a few minutes later Waiso is waiting for its first account.

6 min readBefore this: Where to run Waiso
What you will learn
  • Import Waiso into a Dokploy project
  • Switch the addresses to your own domain with HTTPS
  • Update to a newer version

What the import sets up

The import creates six services in one Compose service of your project: the database, the API, the worker, the robot engine, the editor service and the web app. Dokploy gives the web app, the API and the editor service each a generated address, so browsers reach all three. The database and your files live in named volumes, and every service restarts by itself if the server reboots.

After the deploy, the worker checks in on the Workers page with its languages.

The worker gets the extra permissions its sandbox needs to keep each run apart from the others. They are already in the template; you do not change them.

Install

  1. Copy the import text

    Open panels/dokploy/import.txt in our public repository and copy the whole line. It is made for the newest version.

  2. Create a Compose service

    In Dokploy, open a project, then Create Service → Compose. Give it a name such as waiso and create it.

  3. Import

    In the new service, open Advanced → Import, paste the text into Configuration (Base64) and press Load. The preview lists the compose file, three domains and the variables. Press Import.

  4. Deploy

    Press Deploy. The first deploy pulls the images and takes a few minutes. The worker may restart a few times while the API prepares the empty database; that is expected.

  5. Create the first account

    Open the web app’s address from the Domains tab and sign up. The first account on an empty database becomes the admin.

Use your own domain

The generated addresses answer over plain HTTP and are fine for a first look. For real use, point three names at the server (for example waiso.example.com, api.waiso.example.com and lsp.waiso.example.com), edit each domain in the Domains tab with HTTPS on, then change the three addresses in Environment to match and redeploy:

ShellEnvironment
UI_URL=https://waiso.example.com
API_URL=https://api.waiso.example.com
LSP_URL=wss://lsp.waiso.example.com

Update

  1. Check the versions page for anything the new version asks of you.
  2. In the service’s Environment tab, set WAISO_VERSION to the new version: every service follows it. An install made before 1.8.7 names the version in each image instead; replace each of those once with ${WAISO_VERSION} in the compose file (General tab).
  3. Save and press Deploy. Your data stays in the volumes; reload the browser tab afterwards.

If something looks wrong

  • Runs stay queued. Open the worker’s log (the service’s Logs tab, service worker). On a fresh install it waits for the API to prepare the database and then starts on its own, so give the first deploy a few minutes. If it keeps restarting after that, its log says why.
  • The app opens but nothing loads. The API address must be the one a browser reaches. A web app on https:// calling an API on http:// is blocked by the browser; give both the same kind.
  • The editor shows no completions. The editor address must start with ws:// or, behind HTTPS, wss://, and point at the editor service. Redeploy after changing it, then reload the tab.