Waiso on Easypanel
Easypanel runs our compose file as it is, through its Compose service. It does not make secrets or addresses for a pasted file, so you make three secrets with one command, write the three addresses you want, and add the same three as domains. It takes about ten minutes the first time.
- Create Waiso as a Compose service in Easypanel
- Fill in its secrets and addresses
- Update to a newer version
What runs in the Compose service
The file holds six services: the database, the API, the worker, the robot engine, the editor service and the web app. Easypanel’s proxy sends each of your three domains to the right one: the web app on port 8080, the API on 3000 and the editor service on 3001. The database and your files live in volumes that survive redeploys.
Install
- Make three secrets
On any machine with OpenSSL, run the three commands below and keep the answers.
- Create the service
In a project, press + Service → Compose, give it a name such as
waisoand paste panels/easypanel/docker-compose.yml from our public repository. - Fill in the environment
In Environment, paste env.example, put in the three secrets and your three addresses, and turn on Create .env file.
- Add the domains
In Domains, point the first domain at the compose service
ui, port 8080. Add one forapi, port 3000, and one forlsp, port 3001. - Deploy and sign up
Press Deploy, wait for the images, then open the web app’s domain and create the first account. It becomes the admin.
openssl rand -hex 32 # POSTGRES_PASSWORD
openssl rand -base64 32 # DB_CREDENTIALS_KEY
openssl rand -hex 32 # SCRAPER_ENGINE_SECRETWrite the addresses exactly as browsers will reach them: https:// for the web app and the API, wss:// for the editor service once Easypanel has issued the certificates.
Update
- Check the versions page for anything the new version asks of you.
- In the Compose service’s Environment, set
WAISO_VERSIONto 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. - Save and 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, container
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 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.