Deploy & runGuide

Waiso on Coolify

Our Coolify file is an ordinary compose file with a few names Coolify understands: where it sees them, it makes an address for the web app, the API and the editor service, and a password for the database. You paste the file once as a new resource and deploy it.

6 min readBefore this: Where to run Waiso
What you will learn
  • Create Waiso as a Docker Compose resource in Coolify
  • Give it your own domain
  • Update to a newer version

What Coolify sets up

Coolify reads the file and finds six services: the database, the API, the worker, the robot engine, the editor service and the web app. Three of them get an address through Coolify’s proxy, the database password is generated and kept by Coolify, and the database and your files live in volumes that survive redeploys.

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

Install

  1. Copy the file

    Open panels/coolify/waiso.yaml in our public repository and copy all of it. It names the newest version.

  2. Add a resource

    In a project, press New resource and pick Docker Compose (the one without a Git repository; older versions call it Docker Compose Empty). Choose the server.

  3. Paste and save

    Paste the file and press Save. Coolify lists the six services and shows the three generated addresses.

  4. Deploy

    Press Deploy. The first one pulls the images and takes a few minutes. The worker may restart a few times while the API prepares the empty database.

  5. Create the first account

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

Use your own domain

Point three names at the server, for example waiso.example.com for the web app, api.waiso.example.com for the API and lsp.waiso.example.com for the editor service. Open each of the three services in Coolify, set its domain with https:// and keep the port Coolify shows (8080, 3000 and 3001). Then redeploy: the addresses Waiso hands to browsers follow the domains, and the editor’s address switches to wss:// by itself.

Update

  1. Check the versions page for anything the new version asks of you.
  2. Open the resource’s Environment Variables and 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 Edit Compose File.
  3. Save and press Redeploy. Your data stays in the volumes; reload the browser tab afterwards.

If something looks wrong

  • Runs stay queued. Open the worker’s log (the resource’s Logs, 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.