Waiso on Portainer
Portainer runs Waiso as a stack. You can add our app template once and pick Waiso from the list whenever you need it, or paste the compose file straight into a new stack. Either way you fill in three secrets and the three addresses browsers will use.
- Add our app template to Portainer
- Deploy the stack with its secrets and addresses
- Update to a newer version
What the stack holds
The stack holds six services: the database, the API, the worker, the robot engine, the editor service and the web app. Portainer does not put a proxy in front of them, so the web app listens on port 8080, the API on 3000 and the editor service on 3001. Put your usual reverse proxy in front of those ports for HTTPS, or open them for a first try on a private network.
Install
- Add the template list
In Settings → App Templates, set the URL below and save. Waiso appears under App Templates.
- Make three secrets
Run
openssl rand -hex 32twice (database password, robot engine secret) andopenssl rand -base64 32once (credentials key). - Deploy the stack
Pick Waiso, fill in the three secrets and the three addresses, and press Deploy the stack. Without the template, create a stack with Web editor, paste panels/portainer/docker-compose.yml and set the same six values as environment variables.
- Create the first account
Open the web app’s address and sign up. The first account on an empty database becomes the admin.
https://raw.githubusercontent.com/talissonjunior16/waiso/main/panels/portainer/template.jsonUpdate
- Check the versions page for anything the new version asks of you.
- In the stack’s Editor, set the
WAISO_VERSIONenvironment variable 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}. - Press Update the stack with Re-pull image on. Your data stays in the volumes; reload the browser tab afterwards.
If something looks wrong
- Runs stay queued. Open the worker’s log (Containers → the stack’s
worker→ Logs). 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 onhttp://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.